fr.umlv.tatoo.cc.common.generator
Class IdMap<O extends ObjectId>

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.generator.IdMap<O>

public class IdMap<O extends ObjectId>
extends Object


Constructor Summary
IdMap()
           
 
Method Summary
<T extends O>
T
get(Class<T> clazz, String id)
           
 Collection<O> getAllValues()
           
 boolean is(Class<? extends ObjectId> clazz, String id)
           
 void put(O value)
           
 void put(String id, O value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdMap

public IdMap()
Method Detail

put

public void put(O value)

put

public void put(String id,
                O value)

is

public boolean is(Class<? extends ObjectId> clazz,
                  String id)

get

public <T extends O> T get(Class<T> clazz,
                           String id)

getAllValues

public Collection<O> getAllValues()

toString

public String toString()
Overrides:
toString in class Object