Class ConnectedAssetInformalTags
- 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.AssetInformalTags
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.client.ConnectedAssetInformalTags
-
- All Implemented Interfaces:
Serializable,Iterator<AssetInformalTag>
public class ConnectedAssetInformalTags extends AssetInformalTags
ConnectedAssetInformalTags provides the open metadata concrete implementation of the Open Connector Framework (OCF) AssetInformalTags abstract class. Its role is to query the property servers (metadata repository cohort) to extract informal tags 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 AssetInformalTagscloneIterator(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.AssetInformalTags
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 AssetInformalTags cloneIterator(AssetDescriptor parentAsset)
Clones this iterator.- Specified by:
cloneIteratorin classAssetInformalTags- 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 classAssetInformalTags- 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.
-
-