public class ConnectedAssetRelatedAssetProperties extends RelatedAssetProperties
assetProperties, connectedAsset, relatedAsset| Constructor and Description |
|---|
ConnectedAssetRelatedAssetProperties(ConnectedAssetRelatedAssetProperties template)
Copy/clone constructor.
|
ConnectedAssetRelatedAssetProperties(String serviceName,
String serverName,
String userId,
String omasServerURL,
String assetGUID,
OCFRESTClient restClient)
Typical constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
refresh()
Request the values in the ConnectedAssetProperties are refreshed with the current values from the
metadata repository.
|
String |
toString()
Standard toString method.
|
getAssetDetail, getAssetSummary, getAssetUniverseequals, hashCodepublic ConnectedAssetRelatedAssetProperties(String serviceName, String serverName, String userId, String omasServerURL, String assetGUID, OCFRESTClient restClient)
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 APIpublic ConnectedAssetRelatedAssetProperties(ConnectedAssetRelatedAssetProperties template)
template - template to copy.public void refresh()
throws PropertyServerException,
UserNotAuthorizedException
refresh in class RelatedAssetPropertiesPropertyServerException - 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.public String toString()
toString in class RelatedAssetPropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.