org.xiruss.snapcm.api.helpers
Interface VersionByResourceMap

All Superinterfaces:
java.util.Map, RepositoryObjectMapCommon, VersionMap
All Known Implementing Classes:
NullVersionByResourceMap, VersionByResourceMapClient, VersionByResourceMapImpl

public interface VersionByResourceMap
extends VersionMap

Map of Version objects by Resource object. This map is used where there must be at most one Version for a given Resource in the values() list (that is, the values() list must be a set).


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 boolean containsKey(Resource res)
           
 Version get(Resource key)
           
 void put(Resource key, Version ver)
           
 
Methods inherited from interface org.xiruss.snapcm.api.helpers.VersionMap
get, put, remove
 
Methods inherited from interface org.xiruss.snapcm.api.helpers.RepositoryObjectMapCommon
getKeyIterator, getValueIterator, put, remove
 
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(Resource key,
         Version ver)

get

Version get(Resource key)

containsKey

boolean containsKey(Resource res)