All Implemented Interfaces:
Serializable, MetadataElement

public class AssetElement extends Object implements MetadataElement, Serializable
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 Details

    • AssetElement

      public AssetElement()
      Default constructor
    • AssetElement

      public AssetElement(AssetElement template)
      Copy/clone constructor. Note, this is a deep copy
      template - object to copy
  • Method Details

    • getElementHeader

      public ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Specified by:
      getElementHeader in interface MetadataElement
      element header object
    • setElementHeader

      public void setElementHeader(ElementHeader elementHeader)
      Set up the element header associated with the properties.
      Specified by:
      setElementHeader in interface MetadataElement
      elementHeader - element header object
    • getProperties

      public AssetProperties getProperties()
      Return the description of the asset.
      list of external references
    • setProperties

      public void setProperties(AssetProperties properties)
      Set up the description of the asset.
      properties - of external references
    • toString

      public String toString()
      JSON-style toString.
      toString in class Object
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      equals in class Object
      objectToCompare - object to compare
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      hashCode in class Object