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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the connections to the asset.Returns the context of the entity.int
hashCode()
Return hash code based on properties.void
setConnections
(List<Connection> connections) Set up the connection for the asset.void
setContext
(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
Returns the connections to the asset.- Returns:
- a list of available connections
-
setConnections
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.
-