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
public class EntitySummary extends InstanceHeader
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
CURRENT_AUDIT_HEADER_VERSION
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceElementHeader
CURRENT_INSTANCE_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description EntitySummary()Default constructor creates an empty entityEntitySummary(EntitySummary templateElement)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.List<Classification>getClassifications()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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceHeader
getGUID, getInstanceURL, getReIdentifiedFromGUID, setGUID, setInstanceURL, setReIdentifiedFromGUID
-
Methods 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, setVersion
-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
EntitySummary
public EntitySummary()
Default constructor creates an empty entity
-
EntitySummary
public EntitySummary(EntitySummary templateElement)
Copy/clone constructor.- Parameters:
templateElement- template to copy.
-
-
Method Detail
-
getClassifications
public List<Classification> getClassifications()
Return a copy of the classifications for the entity. This is a list stored in a newly initialized iterator.- Returns:
- Classifications list
-
setClassifications
public void setClassifications(List<Classification> classifications)
Set up the classifications for an entity. This is stored as an iterator.- Parameters:
classifications- Classification list
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classInstanceHeader- Returns:
- JSON style description of variables.
-
equals
public boolean equals(Object objectToCompare)
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
-
-