org.xiruss.snapcm.api.helpers
Interface RepositoryObjectMapCommon

All Superinterfaces:
java.util.Map
All Known Subinterfaces:
RepositoryObjectMap, ResourceMap, SnapshotMap, VersionByResourceMap, VersionMap
All Known Implementing Classes:
NullRepositoryObjectMap, NullResourceMap, NullSnapshotMap, NullVersionByResourceMap, NullVersionMap, RepositoryObjectMapImpl, ResourceMapImpl, SnapshotMapImpl, VersionByResourceMapClient, VersionByResourceMapImpl, VersionMapClient, VersionMapImpl

public interface RepositoryObjectMapCommon
extends java.util.Map

Methods common to all maps of repository objects. Note that because we want to have class-specific returns for the get(String objectId) method, we can't put that method in the API (in Java 1.4--in Java 5 we can replace a lot of this with parameterized collections).


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 java.util.Iterator getKeyIterator()
           
 java.util.Iterator getValueIterator()
           
 void put(RepositoryObject repObject)
          Adds the specified repository object to the map, indexing it by its object ID.
 void remove(RepositoryObject obj)
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

put

void put(RepositoryObject repObject)
Adds the specified repository object to the map, indexing it by its object ID.

Parameters:
repObject - Object to be added to the map.

getKeyIterator

java.util.Iterator getKeyIterator()
Returns:

getValueIterator

java.util.Iterator getValueIterator()
Returns:

remove

void remove(RepositoryObject obj)