java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.Element
org.odpi.openmetadata.viewservices.assetcatalog.beans.AssetCatalogBean

public class AssetCatalogBean extends Element
AssetCatalogBean object holds properties that are used for displaying details of an asset bean from the metadata catalog, plus the properties and classifications and relationships. Also, the connection to asset is available in this object.
  • Constructor Details

    • AssetCatalogBean

      public AssetCatalogBean()
      Default constructor.
  • Method Details

    • getRelationships

      public List<Relationship> getRelationships()
      Returns the list of available relationships.
      Returns:
      the list of relationships
    • setRelationships

      public void setRelationships(List<Relationship> relationships)
      Set up the list of relationships.
      Parameters:
      relationships - of the element
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Element
      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 Element
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Element
      Returns:
      int