Class ConnectedAssetProperties
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.ConnectedAssetProperties
-
- All Implemented Interfaces:
Serializable
public abstract class ConnectedAssetProperties extends PropertyBase
ConnectedAssetProperties is associated with a Connector. Connectors provide access to assets. ConnectedAssetProperties returns properties (metadata) about the connector's 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 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 Modifier and Type Field Description protected AssetUniverseassetProperties-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ConnectedAssetProperties()Typical constructor.ConnectedAssetProperties(ConnectedAssetProperties templateProperties)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AssetDetailgetAssetDetail()Returns detailed information about the asset organized in the assetDetail structure.AssetSummarygetAssetSummary()Returns the summary information organized in the assetSummary structure.AssetUniversegetAssetUniverse()Returns all the detail of the asset and information connected to it in organized in the assetUniverse structure.abstract 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.beans.PropertyBase
equals, getHeaderVersion, hashCode, setHeaderVersion
-
-
-
-
Field Detail
-
assetProperties
protected AssetUniverse assetProperties
-
-
Constructor Detail
-
ConnectedAssetProperties
public ConnectedAssetProperties()
Typical constructor.
-
ConnectedAssetProperties
public ConnectedAssetProperties(ConnectedAssetProperties templateProperties)
Copy/clone constructor.- Parameters:
templateProperties- template to copy.
-
-
Method Detail
-
getAssetSummary
public AssetSummary getAssetSummary()
Returns the summary information organized in the assetSummary structure.- Returns:
- AssetSummary summary object
-
getAssetDetail
public AssetDetail getAssetDetail()
Returns detailed information about the asset organized in the assetDetail structure.- Returns:
- AssetDetail detail object
-
getAssetUniverse
public AssetUniverse getAssetUniverse()
Returns all the detail of the asset and information connected to it in organized in the assetUniverse structure.- Returns:
- AssetUniverse universe object
-
refresh
public abstract void refresh() throws PropertyServerException, UserNotAuthorizedExceptionRequest the values in the ConnectedAssetProperties are refreshed with the current values from the metadata repository.- 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.
-
-