Class EntitySummary
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummary
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityDetail,EntityProxy
EntitySummary provides the basic header attributes for an open metadata entity.
This includes a summary of its type, its unique
identifier (guid) last update date and a list of the classifications for the entity.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor creates an empty entityEntitySummary(EntitySummary templateElement) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanValidate that an object is equal depending on their stored values.Return a copy of the classifications for the entity.inthashCode()Return a hash code based on the values of this object.voidsetClassifications(List<Classification> classifications) Set up the classifications for an entity.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceHeader
getGUID, getInstanceURL, getReIdentifiedFromGUID, setGUID, setInstanceURL, setReIdentifiedFromGUIDMethods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
getCreatedBy, getCreateTime, getInstanceLicense, getInstanceProvenanceType, getMaintainedBy, getMappingProperties, getMetadataCollectionId, getMetadataCollectionName, getReplicatedBy, getStatus, getStatusOnDelete, getType, getUpdatedBy, getUpdateTime, getVersion, setCreatedBy, setCreateTime, setInstanceLicense, setInstanceProvenanceType, setMaintainedBy, setMappingProperties, setMetadataCollectionId, setMetadataCollectionName, setReplicatedBy, setStatus, setStatusOnDelete, setType, setUpdatedBy, setUpdateTime, setVersionMethods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
EntitySummary
public EntitySummary()Default constructor creates an empty entity -
EntitySummary
Copy/clone constructor.- Parameters:
templateElement- template to copy.
-
-
Method Details
-
getClassifications
Return a copy of the classifications for the entity. This is a list stored in a newly initialized iterator.- Returns:
- Classifications list
-
setClassifications
Set up the classifications for an entity. This is stored as an iterator.- Parameters:
classifications- Classification list
-
toString
Standard toString method.- Overrides:
toStringin classInstanceHeader- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equalsin classInstanceHeader- Parameters:
objectToCompare- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCodein classInstanceHeader- Returns:
- in hash code
-