Class ConnectedAssetRatings
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyIteratorBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetRatings
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.client.ConnectedAssetRatings
-
- All Implemented Interfaces:
Serializable,Iterator<AssetRating>
public class ConnectedAssetRatings extends AssetRatings
ConnectedAssetRatings provides the open metadata concrete implementation of the Open Connector Framework (OCF) AssetRatings abstract class. Its role is to query the property servers (metadata repository cohort) to extract ratings related to the connected asset.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyIteratorBase
pagingIterator
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
parentAsset
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssetPropertyBasecloneElement(AssetDescriptor parentAsset, AssetPropertyBase template)Method implemented by a subclass that ensures the cloning process is a deep clone.protected AssetRatingscloneIterator(AssetDescriptor parentAsset)Clones this iterator.protected List<AssetPropertyBase>getCachedList(int cacheStartPointer, int maximumSize)Method implemented by subclass to retrieve the next cached list of elements.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetRatings
hasNext, next, remove, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyIteratorBase
getElementCount
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
equals, getParentAsset, getParentAssetName, getParentAssetTypeName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
cloneIterator
protected AssetRatings cloneIterator(AssetDescriptor parentAsset)
Clones this iterator.- Specified by:
cloneIteratorin classAssetRatings- Parameters:
parentAsset- descriptor of parent asset- Returns:
- new cloned object.
-
cloneElement
protected AssetPropertyBase cloneElement(AssetDescriptor parentAsset, AssetPropertyBase template)
Method implemented by a subclass that ensures the cloning process is a deep clone.- Overrides:
cloneElementin classAssetRatings- Parameters:
parentAsset- descriptor of parent assettemplate- object to clone- Returns:
- new cloned object.
-
getCachedList
protected List<AssetPropertyBase> getCachedList(int cacheStartPointer, int maximumSize) throws PropertyServerException
Method implemented by subclass to retrieve the next cached list of elements.- Specified by:
getCachedListin classAssetPropertyIteratorBase- Parameters:
cacheStartPointer- where to start the cache.maximumSize- maximum number of elements in the cache.- Returns:
- list of elements corresponding to the supplied cache pointers.
- Throws:
PropertyServerException- there is a problem retrieving elements from the property (metadata) server.
-
-