Class ConnectedAssetRelatedAssetProperties
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.client.ConnectedAssetRelatedAssetProperties
-
- All Implemented Interfaces:
Serializable
public class ConnectedAssetRelatedAssetProperties extends RelatedAssetProperties
RelatedAssetProperties is associated a related asset for a connector's ConnectedAssetProperties. Connectors provide access to assets. ConnectedAssetProperties 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 ConnectedAssetProperties 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 of 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
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
assetProperties, connectedAsset, relatedAsset
-
-
Constructor Summary
Constructors Constructor Description ConnectedAssetRelatedAssetProperties(String serviceName, String serverName, String userId, String omasServerURL, String assetGUID, OCFRESTClient restClient)Typical constructor.ConnectedAssetRelatedAssetProperties(ConnectedAssetRelatedAssetProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrefresh()Request the values in the ConnectedAssetProperties are refreshed with the current values from the metadata repository.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetProperties
getAssetDetail, getAssetSummary, getAssetUniverse
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
equals, hashCode
-
-
-
-
Constructor Detail
-
ConnectedAssetRelatedAssetProperties
public ConnectedAssetRelatedAssetProperties(String serviceName, String serverName, String userId, String omasServerURL, String assetGUID, OCFRESTClient restClient)
Typical constructor.- Parameters:
serviceName- calling serviceserverName- name of the server.userId- identifier of calling useromasServerURL- url of serverassetGUID- String unique id for connected asset.restClient- client to call REST API
-
ConnectedAssetRelatedAssetProperties
public ConnectedAssetRelatedAssetProperties(ConnectedAssetRelatedAssetProperties template)
Copy/clone constructor.- Parameters:
template- template to copy.
-
-
Method Detail
-
refresh
public void refresh() throws PropertyServerException, UserNotAuthorizedExceptionRequest the values in the ConnectedAssetProperties are refreshed with the current values from the metadata repository.- Specified by:
refreshin classRelatedAssetProperties- Throws:
PropertyServerException- there is a problem connecting to the server to retrieve metadata.UserNotAuthorizedException- the userId associated with the connector is not authorized to access the asset properties.
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classRelatedAssetProperties- Returns:
- JSON style description of variables.
-
-