Class LatestChange
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.LatestChange
public class LatestChange
extends org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
LatestChange is a bean that describes the latest change to an asset universe.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorLatestChange(LatestChange template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the description of the change.Return the unique identifier of an element.Return the type name.Return a classification name.org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeActionReturn the type of change.org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTargetReturn the relationship of element that has been changed to the anchor.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(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeAction latestChangeAction) Set up the type of change.voidsetLatestChangeTarget(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTarget latestChangeTarget) Set up the relationship of element that has been changed to the anchor.voidSet up the user identifier for the person/system making the change.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUIDMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
LatestChange
public LatestChange()Default Constructor -
LatestChange
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getLatestChangeTarget
public org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTarget getLatestChangeTarget()Return the relationship of element that has been changed to the anchor.- Returns:
- enum
-
setLatestChangeTarget
public void setLatestChangeTarget(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTarget latestChangeTarget) Set up the relationship of element that has been changed to the anchor.- Parameters:
latestChangeTarget- enum
-
getLatestChangeAction
public org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeAction getLatestChangeAction()Return the type of change.- Returns:
- enum
-
setLatestChangeAction
public void setLatestChangeAction(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeAction latestChangeAction) Set up the type of change.- Parameters:
latestChangeAction- enum
-
getClassificationName
Return a classification name. If a classification name changed, this is its name or null.- Returns:
- string name
-
setClassificationName
Set up a classification name. If a classification name changed, this is its name or null.- Parameters:
classificationName- string name
-
getAttachmentGUID
Return the unique identifier of an element. If an attached entity or relationship changed, this is its unique identifier.- Returns:
- string guid
-
setAttachmentGUID
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
Return the type name. If an attached entity or relationship changed, this is its unique type name.- Returns:
- string name
-
setAttachmentTypeName
Set up the type name. If an attached entity or relationship changed, this is its unique type name.- Parameters:
attachmentTypeName- string name
-
getUserId
Return the user identifier for the person/system making the change.- Returns:
- string user id
-
setUserId
Set up the user identifier for the person/system making the change.- Parameters:
userId- string user id
-
getActionDescription
Return the description of the change.- Returns:
- text
-
setActionDescription
Set up the description of the change.- Parameters:
actionDescription- text
-
toString
Standard toString method.- Overrides:
toStringin classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return code value representing the contents of this object.- Overrides:
hashCodein classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- Returns:
- int
-