Class LastAttachment
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
LastAttachment describes the last attachment to be added to a Referenceable.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorLastAttachment
(LastAttachment template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the referenceableReturn 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
hashCode()
Return hash code for this objectvoid
setAnchorGUID
(String anchorGUID) Set up the unique identifier of the referenceablevoid
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.toString()
JSON-style toStringMethods 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
-
Constructor Details
-
LastAttachment
public LastAttachment()Default constructor -
LastAttachment
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAnchorGUID
Return the unique identifier of the referenceable- Returns:
- guid
-
setAnchorGUID
Set up the unique identifier of the referenceable- Parameters:
anchorGUID
- guid
-
getAnchorType
Return the type name of the referenceable.- Returns:
- string type name
-
setAnchorType
Set up the type name of the referenceable.- Parameters:
anchorType
- string type name
-
getAttachmentGUID
Return the unique identifier of the attached entity.- Returns:
- guid
-
setAttachmentGUID
Set up the unique identifier of the attached entity.- Parameters:
attachmentGUID
- guid
-
getAttachmentType
Return the type of the attached entity.- Returns:
- string type name
-
setAttachmentType
Set up the type of the attached entity.- Parameters:
attachmentType
- string type name
-
getAttachmentOwner
Return the user id of the person/engine that created the attachment.- Returns:
- string user id
-
setAttachmentOwner
Set up the user id of the person/engine that created the attachment.- Parameters:
attachmentOwner
- string user id
-
getDescription
Return the human-readable description of the attachment.- Returns:
- text
-
setDescription
Set up the human-readable description of the attachment.- Parameters:
description
- text
-
getUpdateTime
Return the time that the attachment was made/changed.- Returns:
- date/time
-
setUpdateTime
Set up the time that the attachment was made/changed.- Parameters:
updateTime
- date/time
-
toString
JSON-style toString- Overrides:
toString
in classElementBase
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classElementBase
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classElementBase
- Returns:
- int hash code
-