java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
org.odpi.openmetadata.accessservices.assetconsumer.properties.AssetGraph

public class AssetGraph extends org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
AssetGraph is used to return an asset along with all of its anchored elements and the relationships that they have between one another and to other elements.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor.
    AssetGraph(org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset template)
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the list of elements that are anchored to the asset.
    Return the relationships that connector the anchored elements to the asset, to each other, and to other open metadata elements.
    int
    Return hash code based on properties.
    void
    Set up the list of elements that are anchored to the asset.
    void
    Set up the relationships that connector the anchored elements to the asset, to each other, and to other open metadata elements.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset

    getAbbreviation, getDisplayDescription, getDisplayName, getDisplaySummary, getResourceDescription, getResourceName, getUsage, getVersionIdentifier, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setResourceDescription, setResourceName, setUsage, setVersionIdentifier

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable

    getMeanings, getSearchKeywords, setMeanings, setSearchKeywords

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable

    getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase

    getExtendedProperties, setExtendedProperties

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader

    getClassifications, getGUID, setClassifications, setGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader

    getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    getHeaderVersion, setHeaderVersion

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssetGraph

      public AssetGraph()
      Default constructor
    • AssetGraph

      public AssetGraph(org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - template values for asset
    • AssetGraph

      public AssetGraph(AssetGraph template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - template values for asset graph
  • Method Details

    • getAnchoredElements

      public List<MetadataElement> getAnchoredElements()
      Return the list of elements that are anchored to the asset.
      Returns:
      anchored elements
    • setAnchoredElements

      public void setAnchoredElements(List<MetadataElement> anchoredElements)
      Set up the list of elements that are anchored to the asset.
      Parameters:
      anchoredElements - anchored elements
    • getRelationships

      public List<MetadataRelationship> getRelationships()
      Return the relationships that connector the anchored elements to the asset, to each other, and to other open metadata elements.
      Returns:
      relationships
    • setRelationships

      public void setRelationships(List<MetadataRelationship> relationships)
      Set up the relationships that connector the anchored elements to the asset, to each other, and to other open metadata elements.
      Parameters:
      relationships - relationships
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
      Returns:
      int