Class ConnectedAssetRelatedAssetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset
org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetRelatedAssetProperties
public class ConnectedAssetRelatedAssetProperties
extends org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
RelatedAssetProperties is associated a related asset for a connector's EgeriaConnectedAssetProperties. Connectors provide access to
assets. EgeriaConnectedAssetProperties returns properties (metadata) about the connector's asset. RelatedAssetProperties
returns similar information for an asset related to the connected asset
It is a generic interface for all types of open metadata assets. However, it assumes the asset's metadata model
inherits from Asset (see model 0010 in Area 0).
The EgeriaConnectedAssetProperties returns metadata about the asset at three levels of detail:
- assetSummary - used for displaying details of the asset in summary lists or hover text
- assetDetail - used to display all the information known about the asset with summaries of the relationships to other metadata entities
- assetUniverse - used to define the broader context for the asset
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionConnectedAssetRelatedAssetProperties(org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset bean, String serviceName, String serverName, String userId, String platformURLRoot, String assetGUID, OCFRESTClient restClient) Typical constructor.Copy/clone constructor. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
getAssetDetail, getAssetSummary, getAssetUniverseMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset
equals, getAttributeName, getRelationshipName, hashCode, setAttributeName, setRelationshipNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
getAbbreviation, getDisplayDescription, getDisplayName, getDisplaySummary, getResourceDescription, getResourceName, getUsage, getVersionIdentifier, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setResourceDescription, setResourceName, setUsage, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywordsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ConnectedAssetRelatedAssetProperties
public ConnectedAssetRelatedAssetProperties(org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset bean, String serviceName, String serverName, String userId, String platformURLRoot, String assetGUID, OCFRESTClient restClient) Typical constructor.- Parameters:
bean- content for the superclassserviceName- calling serviceserverName- name of the server.userId- identifier of calling userplatformURLRoot- url of serverassetGUID- String unique id for connected asset.restClient- client to call REST API
-
ConnectedAssetRelatedAssetProperties
Copy/clone constructor.- Parameters:
template- template to copy.
-
-
Method Details
-
refresh
public void refresh() throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionRequest the values in the EgeriaConnectedAssetProperties are refreshed with the current values from the metadata repository.- Specified by:
refreshin classorg.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem connecting to the server to retrieve metadata.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the userId associated with the connector is not authorized to access the asset properties.
-
toString
Standard toString method.- Overrides:
toStringin classorg.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties- Returns:
- JSON style description of variables.
-