Class EntityProxy
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
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy
- All Implemented Interfaces:
Serializable
EntityProxy summarizes an entity instance. It is used to describe one of the entities connected together by a
relationship.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceAuditHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return a copy of the unique attributes for the entity.int
hashCode()
Return a hash code based on the values of this object.void
setUniqueProperties
(InstanceProperties uniqueAttributes) Set up the list of unique properties for this entity proxy.toString()
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, 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 Details
-
EntityProxy
public EntityProxy()Default constructor sets up an empty entity proxy. -
EntityProxy
Copy/clone constructor for the entity proxy.- Parameters:
template
- entity proxy to copy
-
EntityProxy
Copy/clone constructor for the entity proxy.- Parameters:
template
- entity summary to copy
-
-
Method Details
-
getUniqueProperties
Return a copy of the unique attributes for the entity.- Returns:
- InstanceProperties iterator
-
setUniqueProperties
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
Standard toString method.- Overrides:
toString
in classEntitySummary
- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classEntitySummary
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCode
in classEntitySummary
- Returns:
- in hash code
-