Class AssetCatalogItemElement

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

public class AssetCatalogItemElement extends Element
AssetCatalogItemElement object is used to describe the elements returned by the search method
  • Constructor Details

    • AssetCatalogItemElement

      public AssetCatalogItemElement()
      Default constructor
  • Method Details

    • getContext

      public List<Element> getContext()
      Returns the context of the entity. It includes the entities that are connected to the element. For example, for a column, this context contains the table, schema and the asset.
      Returns:
      the context for the given element
    • setContext

      public void setContext(List<Element> context)
      Set up the context for an entity
      Parameters:
      context - the describes the elements
    • getConnections

      public List<Connection> getConnections()
      Returns the connections to the asset.
      Returns:
      a list of available connections
    • setConnections

      public void setConnections(List<Connection> connections)
      Set up the connection for the asset.
      Parameters:
      connections - the connections for the asset
    • 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