Class EntityProxy
- java.lang.Object
-
- 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
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy
-
- All Implemented Interfaces:
Serializable
public class EntityProxy extends EntitySummary
EntityProxy summarizes an entity instance. It is used to describe one of the entities connected together by a relationship.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description EntityProxy()Default constructor sets up an empty entity proxy.EntityProxy(EntityProxy template)Copy/clone constructor for the entity proxy.EntityProxy(EntitySummary template)Copy/clone constructor for the entity proxy.
-
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.InstancePropertiesgetUniqueProperties()Return a copy of the unique attributes for the entity.inthashCode()Return a hash code based on the values of this object.voidsetUniqueProperties(InstanceProperties uniqueAttributes)Set up the list of unique properties for this entity proxy.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummary
getClassifications, setClassifications
-
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, getHeaderVersion, getInstanceLicense, getInstanceProvenanceType, getMaintainedBy, getMappingProperties, getMetadataCollectionId, getMetadataCollectionName, getReplicatedBy, getStatus, getStatusOnDelete, getType, getUpdatedBy, getUpdateTime, getVersion, setCreatedBy, setCreateTime, setHeaderVersion, setInstanceLicense, setInstanceProvenanceType, setMaintainedBy, setMappingProperties, setMetadataCollectionId, setMetadataCollectionName, setReplicatedBy, setStatus, setStatusOnDelete, setType, setUpdatedBy, setUpdateTime, setVersion
-
-
-
-
Constructor Detail
-
EntityProxy
public EntityProxy()
Default constructor sets up an empty entity proxy.
-
EntityProxy
public EntityProxy(EntityProxy template)
Copy/clone constructor for the entity proxy.- Parameters:
template- entity proxy to copy
-
EntityProxy
public EntityProxy(EntitySummary template)
Copy/clone constructor for the entity proxy.- Parameters:
template- entity summary to copy
-
-
Method Detail
-
getUniqueProperties
public InstanceProperties getUniqueProperties()
Return a copy of the unique attributes for the entity.- Returns:
- InstanceProperties iterator
-
setUniqueProperties
public void setUniqueProperties(InstanceProperties uniqueAttributes)
Set up the list of unique properties for this entity proxy. These attributes provide properties such as unique names etc that are useful to display.- Parameters:
uniqueAttributes- InstanceProperties iterator
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classEntitySummary- 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 classEntitySummary- Parameters:
objectToCompare- object- Returns:
- boolean result
-
hashCode
public int hashCode()
Return a hash code based on the values of this object.- Overrides:
hashCodein classEntitySummary- Returns:
- in hash code
-
-