Class LatestChange
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.LatestChange
-
- All Implemented Interfaces:
Serializable
public class LatestChange extends ElementHeader
LatestChange is a bean that describes the latest change to an asset universe.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description LatestChange()Default ConstructorLatestChange(LatestChange template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetActionDescription()Return the description of the change.StringgetAttachmentGUID()Return the unique identifier of an element.StringgetAttachmentTypeName()Return the type name.StringgetClassificationName()Return a classification name.LatestChangeActiongetLatestChangeAction()Return the type of change.LatestChangeTargetgetLatestChangeTarget()Return the relationship of element that has been changed to the anchor.StringgetUserId()Return the user identifier for the person/system making the change.inthashCode()Return code value representing the contents of this object.voidsetActionDescription(String actionDescription)Set up the description of the change.voidsetAttachmentGUID(String attachmentGUID)Set up the unique identifier of an element.voidsetAttachmentTypeName(String attachmentTypeName)Set up the type name.voidsetClassificationName(String classificationName)Set up a classification name.voidsetLatestChangeAction(LatestChangeAction latestChangeAction)Set up the type of change.voidsetLatestChangeTarget(LatestChangeTarget latestChangeTarget)Set up the relationship of element that has been changed to the anchor.voidsetUserId(String userId)Set up the user identifier for the person/system making the change.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
LatestChange
public LatestChange()
Default Constructor
-
LatestChange
public LatestChange(LatestChange template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getLatestChangeTarget
public LatestChangeTarget getLatestChangeTarget()
Return the relationship of element that has been changed to the anchor.- Returns:
- enum
-
setLatestChangeTarget
public void setLatestChangeTarget(LatestChangeTarget latestChangeTarget)
Set up the relationship of element that has been changed to the anchor.- Parameters:
latestChangeTarget- enum
-
getLatestChangeAction
public LatestChangeAction getLatestChangeAction()
Return the type of change.- Returns:
- enum
-
setLatestChangeAction
public void setLatestChangeAction(LatestChangeAction latestChangeAction)
Set up the type of change.- Parameters:
latestChangeAction- enum
-
getClassificationName
public String getClassificationName()
Return a classification name. If a classification name changed, this is its name or null.- Returns:
- string name
-
setClassificationName
public void setClassificationName(String classificationName)
Set up a classification name. If a classification name changed, this is its name or null.- Parameters:
classificationName- string name
-
getAttachmentGUID
public String getAttachmentGUID()
Return the unique identifier of an element. If an attached entity or relationship changed, this is its unique identifier.- Returns:
- string guid
-
setAttachmentGUID
public void setAttachmentGUID(String attachmentGUID)
Set up the unique identifier of an element. If an attached entity or relationship changed, this is its unique identifier.- Parameters:
attachmentGUID- string guid
-
getAttachmentTypeName
public String getAttachmentTypeName()
Return the type name. If an attached entity or relationship changed, this is its unique type name.- Returns:
- string name
-
setAttachmentTypeName
public void setAttachmentTypeName(String attachmentTypeName)
Set up the type name. If an attached entity or relationship changed, this is its unique type name.- Parameters:
attachmentTypeName- string name
-
getUserId
public String getUserId()
Return the user identifier for the person/system making the change.- Returns:
- string user id
-
setUserId
public void setUserId(String userId)
Set up the user identifier for the person/system making the change.- Parameters:
userId- string user id
-
getActionDescription
public String getActionDescription()
Return the description of the change.- Returns:
- text
-
setActionDescription
public void setActionDescription(String actionDescription)
Set up the description of the change.- Parameters:
actionDescription- text
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classElementHeader- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return code value representing the contents of this object.- Overrides:
hashCodein classElementHeader- Returns:
- int
-
-