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

    Constructors
    Constructor
    Description
    Default Constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare 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.LatestChangeAction
    Return the type of change.
    org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTarget
    Return the relationship of element that has been changed to the anchor.
    Return the user identifier for the person/system making the change.
    int
    Return code value representing the contents of this object.
    void
    setActionDescription(String actionDescription)
    Set up the description of the change.
    void
    setAttachmentGUID(String attachmentGUID)
    Set up the unique identifier of an element.
    void
    setAttachmentTypeName(String attachmentTypeName)
    Set up the type name.
    void
    setClassificationName(String classificationName)
    Set up a classification name.
    void
    setLatestChangeAction(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeAction latestChangeAction)
    Set up the type of change.
    void
    setLatestChangeTarget(org.odpi.openmetadata.frameworks.openmetadata.enums.LatestChangeTarget latestChangeTarget)
    Set up the relationship of element that has been changed to the anchor.
    void
    setUserId(String userId)
    Set up the user identifier for the person/system making the change.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader

    getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LatestChange

      public LatestChange()
      Default Constructor
    • LatestChange

      public LatestChange(LatestChange template)
      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

      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:
      toString in class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
      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:
      equals in class org.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:
      hashCode in class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
      Returns:
      int