Class AssetReferenceable
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
- Direct Known Subclasses:
ConnectionProperties
,ConnectorTypeProperties
,EndpointProperties
Many open metadata entities are referenceable. It means that they have a qualified name and additional
properties. In addition, the Referenceable class adds support for the parent asset, guid, url and type
for the entity through extending ElementBase. There is also the possibility that referenceable may have
meanings (glossary terms) and security tags assigned.
Asset meanings are extracted on demand by the caller.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor used by the subclassesAssetReferenceable
(AssetReferenceable template) Copy/clone constructor with parent asset.protected
AssetReferenceable
(Referenceable referenceableBean) Bean constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a copy of the additional properties.Returns the stored qualified name property for the metadata entity.protected Referenceable
Return the bean for this referenceable.int
hashCode()
Hash of propertiesprotected void
setBean
(Referenceable referenceableBean) Set up the bean that contains the properties of the referenceable.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getOrigin, getStatus, getType, getVersions, setBean
-
Field Details
-
referenceableBean
-
-
Constructor Details
-
AssetReferenceable
protected AssetReferenceable()Constructor used by the subclasses -
AssetReferenceable
Bean constructor- Parameters:
referenceableBean
- bean containing all the properties
-
AssetReferenceable
Copy/clone constructor with parent asset.- Parameters:
template
- element to copy
-
-
Method Details
-
setBean
Set up the bean that contains the properties of the referenceable.- Parameters:
referenceableBean
- bean containing all the properties
-
getReferenceableBean
Return the bean for this referenceable.- Returns:
- Referenceable object with all the properties
-
getQualifiedName
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
toString
Standard toString method.- Overrides:
toString
in classAssetElementHeader
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classAssetElementHeader
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classAssetElementHeader
- Returns:
- int
-