public class LastAttachment extends ElementBase
LastAttachment describes the last attachment to be added to a Referenceable.
  • 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 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 ElementBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ElementBase
      Returns:
      int hash code