Class LastAttachment
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.properties.LastAttachment
-
- All Implemented Interfaces:
Serializable
public class LastAttachment extends ElementBase
LastAttachment describes the last attachment to be added to a Referenceable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description LastAttachment()Default constructorLastAttachment(LastAttachment template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetAnchorGUID()Return the unique identifier of the referenceableStringgetAnchorType()Return the type name of the referenceable.StringgetAttachmentGUID()Return the unique identifier of the attached entity.StringgetAttachmentOwner()Return the user id of the person/engine that created the attachment.StringgetAttachmentType()Return the type of the attached entity.StringgetDescription()Return the human readable description of the attachment.DategetUpdateTime()Return the time that the attachment was made/changed.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String anchorGUID)Set up the unique identifier of the referenceablevoidsetAnchorType(String anchorType)Set up the type name of the referenceable.voidsetAttachmentGUID(String attachmentGUID)Set up the unique identifier of the attached entity.voidsetAttachmentOwner(String attachmentOwner)Set up the user id of the person/engine that created the attachment.voidsetAttachmentType(String attachmentType)Set up the type of the attached entity.voidsetDescription(String description)Set up the human readable description of the attachment.voidsetUpdateTime(Date updateTime)Set up the time that the attachment was made/changed.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
LastAttachment
public LastAttachment()
Default constructor
-
LastAttachment
public LastAttachment(LastAttachment template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classElementBase- 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:
equalsin classElementBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classElementBase- Returns:
- int hash code
-
-