Class EntityOperatorStore
java.lang.Object
org.nuiton.topia.persistence.util.EntityOperatorStore
public class EntityOperatorStore
extends java.lang.Object
Un cache d'operateurs.
- Author:
- tchemit <chemit@codelutin.com>
- See Also:
EntityOperator
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<TopiaEntityEnum,EntityOperator<?>>storele cache d'operateurs -
Constructor Summary
Constructors Modifier Constructor Description protectedEntityOperatorStore() -
Method Summary
Modifier and Type Method Description static voidclear()protected voidfinalize()static <E extends TopiaEntity>
EntityOperator<E>getOperator(TopiaEntityEnum contract)
-
Field Details
-
store
le cache d'operateurs
-
-
Constructor Details
-
EntityOperatorStore
protected EntityOperatorStore()
-
-
Method Details
-
getOperator
- 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:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-