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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassification>Return the list of classifications associated with the asset.Return 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.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementOriginReturn the element type properties for this properties object.org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatusReturn the status of the element.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementTypegetType()Return the element type properties for this properties object.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementVersionsReturn the element version properties for this properties object.inthashCode()Create a hash code for this element type.toString()Standard toString method.
-
Method Details
-
getType
public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementType 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
public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementOrigin 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
public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementVersions 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
public org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus getStatus()Return the status of the element.- Returns:
- status enum
-
getClassifications
public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassification> 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:
equalsin classAssetPropertyElementBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classAssetPropertyElementBase- Returns:
- int hash code
-