Class AssetCatalogItemElement
java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.Element
org.odpi.openmetadata.viewservices.assetcatalog.beans.AssetCatalogItemElement
AssetCatalogItemElement object is used to describe the elements returned by the search method
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection>Returns the connections to the asset.Returns the context of the entity.inthashCode()Return hash code based on properties.voidsetConnections(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection> connections) Set up the connection for the asset.voidsetContext(List<Element> context) Set up the context for an entitytoString()Standard toString method.Methods inherited from class org.odpi.openmetadata.viewservices.assetcatalog.beans.Element
getAdditionalProperties, getAnchorElement, getClassifications, getCreatedBy, getCreateTime, getGuid, getName, getOrigin, getParentElement, getProperties, getStatus, getType, getUpdatedBy, getUpdateTime, getUrl, getVersion, setAdditionalProperties, setAnchorElement, setClassifications, setCreatedBy, setCreateTime, setGuid, setName, setOrigin, setParentElement, setProperties, setStatus, setType, setUpdatedBy, setUpdateTime, setUrl, setVersion
-
Constructor Details
-
AssetCatalogItemElement
public AssetCatalogItemElement()Default constructor
-
-
Method Details
-
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
Set up the context for an entity- Parameters:
context- the describes the elements
-
getConnections
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection> getConnections()Returns the connections to the asset.- Returns:
- a list of available connections
-
setConnections
public void setConnections(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection> connections) Set up the connection for the asset.- Parameters:
connections- the connections for the asset
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-