All Implemented Interfaces:
Serializable

public class LatestChange extends ElementClassificationHeader
LatestChange is a bean that describes the latest change to an asset universe.
See Also:
  • Constructor Details

    • LatestChange

      public LatestChange()
      Default Constructor
    • LatestChange

      public LatestChange(LatestChange template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class 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 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 ElementClassificationHeader
      Returns:
      int