Class AssetElement
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.AssetElement
- All Implemented Interfaces:
Serializable
,MetadataElement
Asset holds asset properties that are used for displaying details of
an asset in summary lists or hover text. It includes the following properties:
- qualifiedName - The official (unique) name for the asset. This is often defined by the IT systems management organization and should be used (when available) on audit logs and error messages. (qualifiedName from Referenceable - model 0010)
- displayName - A consumable name for the asset. Often a shortened form of the assetQualifiedName for use on user interfaces and messages. The assetDisplayName should only be used for audit logs and error messages if the assetQualifiedName is not set. (Sourced from attribute name within Asset - model 0010)
- shortDescription - short description about the asset. (Sourced from assetSummary within ConnectionsToAsset - model 0205)
- description - full description of the asset. (Sourced from attribute description within Asset - model 0010)
- owner - name of the person or organization that owns the asset. (Sourced from attribute owner within Asset - model 0010)
- ownerCategory - type of the person or organization that owns the asset. (Sourced from classification AssetOwnership attached to Asset - model 0445)
- zoneMembership - name of the person or organization that owns the asset. (Sourced from classification AssetZoneMemberShip attached to Asset - model 0424)
- origin - origin identifiers describing the source of the asset. (Sourced from classification AssetOrigin attached to Asset - model 0440)
- classifications - list of all classifications assigned to the asset
- extendedProperties - list of properties assigned to the asset from the Asset subclasses
- additionalProperties - list of properties assigned to the asset as additional properties
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetElement
(AssetElement template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the element header associated with the properties.Return the description of the asset.int
hashCode()
Hash of propertiesvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setProperties
(AssetProperties properties) Set up the description of the asset.toString()
JSON-style toString.
-
Constructor Details
-
AssetElement
public AssetElement()Default constructor -
AssetElement
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getProperties
Return the description of the asset.- Returns:
- list of external references
-
setProperties
Set up the description of the asset.- Parameters:
properties
- of external references
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Hash of properties
-