Class ConnectedCommentReplies
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.PropertyIteratorBase
org.odpi.openmetadata.frameworks.connectors.properties.CommentReplies
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedCommentReplies
- All Implemented Interfaces:
Iterator<CommentConversation>
ConnectedComments provides the open metadata concrete implementation of the
Open Connector Framework (OCF) Comments abstract class.
Its role is to query the property servers (metadata repository cohort) to extract comments
related to the connected asset.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.PropertyIteratorBase
pagingIterator
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Method Summary
Modifier and TypeMethodDescriptionprotected ElementBase
cloneElement
(ElementBase template) Method implemented by a subclass that ensures the cloning process is a deep clone.protected CommentReplies
Clones this iterator.protected List<ElementBase>
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.CommentReplies
hasNext, next, remove, toString
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
equals, getHeaderVersion, hashCode, setHeaderVersion
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
cloneIterator
Clones this iterator.- Specified by:
cloneIterator
in classCommentReplies
- Returns:
- new cloned object.
-
cloneElement
Method implemented by a subclass that ensures the cloning process is a deep clone.- Overrides:
cloneElement
in classCommentReplies
- Parameters:
template
- object to clone- Returns:
- new cloned object.
-
getCachedList
protected List<ElementBase> getCachedList(int cacheStartPointer, int maximumSize) throws PropertyServerException Method implemented by subclass to retrieve the next cached list of elements.- Specified by:
getCachedList
in classPropertyIteratorBase
- 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.
-