Class ConnectedAssetRelatedAssetDetails

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.RelatedAssetDetails
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetRelatedAssetDetails

public class ConnectedAssetRelatedAssetDetails extends org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetDetails
RelatedAssetDetails is associated a related asset for a connector's EgeriaConnectedAssetDetails. Connectors provide access to assets. EgeriaConnectedAssetDetails returns properties (metadata) about the connector's asset. RelatedAssetDetails 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 EgeriaConnectedAssetDetails 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
RelatedAssetDetails is a base class for the connector's metadata API that returns null, for the asset's properties. Metadata repository implementations extend this class to add their implementation of the refresh() method that calls to the metadata repository to populate the metadata properties.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConnectedAssetRelatedAssetDetails(org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset bean, String serviceName, String serverName, String userId, String platformURLRoot, String assetGUID, OCFRESTClient restClient)
    Typical constructor.
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Request the values in the EgeriaConnectedAssetDetails are refreshed with the current values from the metadata repository.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetDetails

    getAssetDetail, getAssetSummary, getAssetUniverse

    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConnectedAssetRelatedAssetDetails

      public ConnectedAssetRelatedAssetDetails(org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset bean, String serviceName, String serverName, String userId, String platformURLRoot, String assetGUID, OCFRESTClient restClient)
      Typical constructor.
      Parameters:
      bean - content for the superclass
      serviceName - calling service
      serverName - name of the server.
      userId - identifier of calling user
      platformURLRoot - url of server
      assetGUID - String unique id for connected asset.
      restClient - client to call REST API
    • ConnectedAssetRelatedAssetDetails

      public ConnectedAssetRelatedAssetDetails(ConnectedAssetRelatedAssetDetails template)
      Copy/clone constructor.
      Parameters:
      template - template to copy.
  • Method Details

    • refresh

      public void refresh() throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Request the values in the EgeriaConnectedAssetDetails are refreshed with the current values from the metadata repository.
      Specified by:
      refresh in class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetDetails
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem connecting to the server to retrieve metadata.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the userId associated with the connector is not authorized to access the asset properties.
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class org.odpi.openmetadata.frameworks.connectors.properties.RelatedAssetDetails
      Returns:
      JSON style description of variables.