public class ConnectedAssetProperties extends ConnectedAssetProperties
assetProperties| Constructor and Description |
|---|
ConnectedAssetProperties(ConnectedAssetProperties template)
Copy/clone constructor.
|
ConnectedAssetProperties(String serviceName,
String remoteServerName,
String userId,
String omasServerURL,
String connectorInstanceId,
ConnectionProperties connection,
String assetGUID)
Constructor with no security used on the HTTP request.
|
ConnectedAssetProperties(String serviceName,
String remoteServerName,
String localServerUserId,
String localServerPassword,
String userId,
String omasServerURL,
String connectorInstanceId,
ConnectionProperties connection,
String assetGUID)
Constructor with userId and password embedded in the HTTP request.
|
| 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 ConnectedAssetProperties(String serviceName, String remoteServerName, String userId, String omasServerURL, String connectorInstanceId, ConnectionProperties connection, String assetGUID)
serviceName - calling serviceremoteServerName - name of the server.userId - identifier of calling useromasServerURL - url of serverconnectorInstanceId - unique identifier of connector.connection - connection information for connector.assetGUID - String unique id for connected asset.public ConnectedAssetProperties(String serviceName, String remoteServerName, String localServerUserId, String localServerPassword, String userId, String omasServerURL, String connectorInstanceId, ConnectionProperties connection, String assetGUID)
serviceName - calling serviceremoteServerName - name of the server to call.localServerUserId - userId to use on the rest call.localServerPassword - password to use on the rest call.userId - identifier of calling useromasServerURL - url of serverconnectorInstanceId - unique identifier of connector.connection - connection information for connector.assetGUID - String unique id for connected asset.public ConnectedAssetProperties(ConnectedAssetProperties template)
template - template to copy.public void refresh()
throws PropertyServerException,
UserNotAuthorizedException
refresh in class ConnectedAssetPropertiesPropertyServerException - 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 ConnectedAssetPropertiesCopyright © 2018–2019 ODPi. All rights reserved.