org.nuiton.topia.persistence.util
Class EntityOperatorStore

java.lang.Object
  extended by org.nuiton.topia.persistence.util.EntityOperatorStore

public class EntityOperatorStore
extends java.lang.Object

Un cache d'operateurs.

Author:
chemit
See Also:
EntityOperator

Field Summary
protected  java.util.Map<TopiaEntityEnum,EntityOperator<?>> store
          le cache d'operateurs
 
Constructor Summary
protected EntityOperatorStore()
           
 
Method Summary
static void clear()
           
protected  void finalize()
           
static
<E extends TopiaEntity>
EntityOperator<E>
getOperator(TopiaEntityEnum contract)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store

protected final java.util.Map<TopiaEntityEnum,EntityOperator<?>> store
le cache d'operateurs

Constructor Detail

EntityOperatorStore

protected EntityOperatorStore()
Method Detail

getOperator

public static <E extends TopiaEntity> EntityOperator<E> getOperator(TopiaEntityEnum contract)
Type Parameters:
E - le type de l'entite
Parameters:
contract - le contrat de l'entite
Returns:
l'operator associe au contrat
See Also:
EntityOperator

clear

public static void clear()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable


Copyright © 2004-2009 CodeLutin. All Rights Reserved.