java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.properties.LastAttachment

public class LastAttachment extends org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
LastAttachment describes the last attachment to be added to a Referenceable.
  • 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)
    Return comparison result based on the content of the properties.
    Return the unique identifier of the referenceable
    Return the type name of the referenceable.
    Return the unique identifier of the attached entity.
    Return the user id of the person/engine that created the attachment.
    Return the type of the attached entity.
    Return the human-readable description of the attachment.
    Return the time that the attachment was made/changed.
    int
    Return hash code for this object
    void
    setAnchorGUID(String anchorGUID)
    Set up the unique identifier of the referenceable
    void
    setAnchorType(String anchorType)
    Set up the type name of the referenceable.
    void
    setAttachmentGUID(String attachmentGUID)
    Set up the unique identifier of the attached entity.
    void
    setAttachmentOwner(String attachmentOwner)
    Set up the user id of the person/engine that created the attachment.
    void
    setAttachmentType(String attachmentType)
    Set up the type of the attached entity.
    void
    setDescription(String description)
    Set up the human-readable description of the attachment.
    void
    setUpdateTime(Date updateTime)
    Set up the time that the attachment was made/changed.
    JSON-style toString

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase

    getExtendedProperties, setExtendedProperties

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

    getClassifications, getGUID, setClassifications, setGUID

    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

    • LastAttachment

      public LastAttachment()
      Default constructor
    • LastAttachment

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

    • getAnchorGUID

      public String getAnchorGUID()
      Return the unique identifier of the referenceable
      Returns:
      guid
    • setAnchorGUID

      public void setAnchorGUID(String anchorGUID)
      Set up the unique identifier of the referenceable
      Parameters:
      anchorGUID - guid
    • getAnchorType

      public String getAnchorType()
      Return the type name of the referenceable.
      Returns:
      string type name
    • setAnchorType

      public void setAnchorType(String anchorType)
      Set up the type name of the referenceable.
      Parameters:
      anchorType - string type name
    • getAttachmentGUID

      public String getAttachmentGUID()
      Return the unique identifier of the attached entity.
      Returns:
      guid
    • setAttachmentGUID

      public void setAttachmentGUID(String attachmentGUID)
      Set up the unique identifier of the attached entity.
      Parameters:
      attachmentGUID - guid
    • getAttachmentType

      public String getAttachmentType()
      Return the type of the attached entity.
      Returns:
      string type name
    • setAttachmentType

      public void setAttachmentType(String attachmentType)
      Set up the type of the attached entity.
      Parameters:
      attachmentType - string type name
    • getAttachmentOwner

      public String getAttachmentOwner()
      Return the user id of the person/engine that created the attachment.
      Returns:
      string user id
    • setAttachmentOwner

      public void setAttachmentOwner(String attachmentOwner)
      Set up the user id of the person/engine that created the attachment.
      Parameters:
      attachmentOwner - string user id
    • getDescription

      public String getDescription()
      Return the human-readable description of the attachment.
      Returns:
      text
    • setDescription

      public void setDescription(String description)
      Set up the human-readable description of the attachment.
      Parameters:
      description - text
    • getUpdateTime

      public Date getUpdateTime()
      Return the time that the attachment was made/changed.
      Returns:
      date/time
    • setUpdateTime

      public void setUpdateTime(Date updateTime)
      Set up the time that the attachment was made/changed.
      Parameters:
      updateTime - date/time
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
      Returns:
      int hash code