Class AssetElementHeader
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
- Direct Known Subclasses:
AssetReferenceable
ElementBase provides the common identifier and type information for all properties objects
that link off of the asset and have a guid associated with them. This typically means it is
represented by an entity in the metadata repository.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor used by the subclassesprotected
AssetElementHeader
(AssetElementHeader assetElementHeader) Copy/clone constructor.protected
AssetElementHeader
(ElementBase elementBaseBean) Bean constructor with parent asset -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of classifications associated with the asset.protected ElementBase
Return the element header bean - used during cloningReturn any properties defined for a subtype that are not explicitly supported by the connected asset API.getGUID()
Return the unique id for the properties object.Return the element type properties for this properties object.Return the status of the element.getType()
Return the element type properties for this properties object.Return the element version properties for this properties object.int
hashCode()
Create a hash code for this element type.protected void
setBean
(ElementBase elementBaseBean) Set up the bean that contains the properties of the element header.toString()
Standard toString method.
-
Constructor Details
-
AssetElementHeader
protected AssetElementHeader()Constructor used by the subclasses -
AssetElementHeader
Bean constructor with parent asset- Parameters:
elementBaseBean
- bean containing properties
-
AssetElementHeader
Copy/clone constructor.- Parameters:
assetElementHeader
- element to copy
-
-
Method Details
-
setBean
Set up the bean that contains the properties of the element header.- Parameters:
elementBaseBean
- bean containing all the properties
-
getElementHeaderBean
Return the element header bean - used during cloning- Returns:
- bean
-
getType
Return the element type properties for this properties object. These values are set up by the metadata repository and define details of the metadata entity used to represent this element.- Returns:
- ElementType type information.
-
getOrigin
Return the element type properties for this properties object. These values are set up by the metadata repository and define details of the metadata entity used to represent this element.- Returns:
- AssetElementOrigin origin information.
-
getVersions
Return the element version properties for this properties object. These values are set up by the metadata repository and define details of the metadata entity used to represent this element.- Returns:
- ElementVersions version information.
-
getGUID
Return the unique id for the properties object. Null means that no guid is assigned.- Returns:
- String unique id
-
getStatus
Return the status of the element.- Returns:
- status enum
-
getClassifications
Return the list of classifications associated with the asset.- Returns:
- Classifications list of classifications
-
getExtendedProperties
Return any properties defined for a subtype that are not explicitly supported by the connected asset API.- Returns:
- property map
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classAssetPropertyElementBase
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classAssetPropertyElementBase
- Returns:
- int hash code
-