Class AssetCatalogItemElement

java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Element
org.odpi.openmetadata.accessservices.assetcatalog.model.AssetCatalogItemElement
All Implemented Interfaces:
Serializable

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

    • AssetCatalogItemElement

      public AssetCatalogItemElement()
  • 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
    • getConnections

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

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

      public void setConnections(List<Connection> connections)
      Set up the connection for the asset
      Parameters:
      connections - the connections for the asset
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Element
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element