Class RelatedAssetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.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
- Direct Known Subclasses:
ConnectedAssetRelatedAssetProperties
RelatedAssetProperties returns detailed information about an asset that is related to an asset
that is linked to the original anchor asset with a relationship.
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 RelatedAssetProperties 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.Asset
abbreviation, deployedImplementationType, displayDescription, displayName, displaySummary, resourceDescription, resourceName, usage, versionIdentifier
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
meanings, searchKeywords
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor used by subclassesRelatedAssetProperties
(RelatedAsset relatedAsset) Typical constructor.RelatedAssetProperties
(RelatedAssetProperties templateProperties) Copy/clone constructor* -
Method Summary
Modifier and TypeMethodDescriptionReturns detailed information about the asset organized in the assetDetail structure.Returns the summary information organized in the assetSummary structure.Returns all the detail of the asset and information connected to it in organized in the assetUniverse structure.abstract void
refresh()
Request the values in the RelatedAssetProperties are refreshed with the current values from the metadata repository.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset
equals, getAttributeName, getRelationshipName, hashCode, setAttributeName, setRelationshipName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
getAbbreviation, getDeployedImplementationType, getDisplayDescription, getDisplayName, getDisplaySummary, getResourceDescription, getResourceName, getUsage, getVersionIdentifier, setAbbreviation, setDeployedImplementationType, setDisplayDescription, setDisplayName, setDisplaySummary, setResourceDescription, setResourceName, setUsage, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywords
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
assetProperties
-
-
Constructor Details
-
RelatedAssetProperties
protected RelatedAssetProperties()Default constructor used by subclasses -
RelatedAssetProperties
Typical constructor.- Parameters:
relatedAsset
- asset to extract the full set of properties.
-
RelatedAssetProperties
Copy/clone constructor*- Parameters:
templateProperties
- template to copy
-
-
Method Details
-
getAssetSummary
Returns the summary information organized in the assetSummary structure.- Returns:
- AssetSummary summary object
-
getAssetDetail
Returns detailed information about the asset organized in the assetDetail structure.- Returns:
- AssetDetail detail object
-
getAssetUniverse
Returns all the detail of the asset and information connected to it in organized in the assetUniverse structure.- Returns:
- AssetUniverse universe object
-
refresh
Request the values in the RelatedAssetProperties 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.
-
toString
Standard toString method.- Overrides:
toString
in classRelatedAsset
- Returns:
- print out of variables in a JSON-style
-