Class LastAttachment

  • All Implemented Interfaces:
    java.io.Serializable

    public class LastAttachment
    extends ElementBase
    LastAttachment describes the last attachment to be added to a Referenceable.
    See Also:
    Serialized Form
    • Constructor Detail

      • LastAttachment

        public LastAttachment()
        Default constructor
      • LastAttachment

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

      • getAnchorGUID

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class ElementBase
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(java.lang.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