Class ZoneMembers
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ZoneMembers
- All Implemented Interfaces:
Serializable
,Iterator<AssetElement>
An iterator to walk through the list of assets assigned to a zone.
- See Also:
-
Constructor Details
-
ZoneMembers
public ZoneMembers()
-
-
Method Details
-
hasNext
public boolean hasNext()The iterator can only be used once to step through the elements. This method returns a boolean to indicate if it has got to the end of the list yet.- Specified by:
hasNext
in interfaceIterator<AssetElement>
- Returns:
- boolean indicating whether there are more elements.
-
next
Return the next element in the iteration.- Specified by:
next
in interfaceIterator<AssetElement>
- Returns:
- next element object that has been cloned.
-
remove
public void remove()Remove the current element in the iterator. (Null implementation since this iterator works off of cached elements from the property (metadata) server.)- Specified by:
remove
in interfaceIterator<AssetElement>
-