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
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
ConstructorsConstructorDescriptionDefault constructorLastAttachment(LastAttachment template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.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.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods 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:
toStringin classorg.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.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:
hashCodein classorg.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase- Returns:
- int hash code
-