Package org.cyclos.impl.access
Interface EntityCheckRegistry
-
public interface EntityCheckRegistryRegistry forEntityChecks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <E extends SimpleEntity>
EntityCheck<? super E>get(Class<E> entityClass)Returns theEntityCheckfor the given entity class.<E extends SimpleEntity>
voidregister(EntityCheck<E> entityCheck)Registers the givenEntityCheck
-
-
-
Method Detail
-
get
<E extends SimpleEntity> EntityCheck<? super E> get(Class<E> entityClass)
Returns theEntityCheckfor the given entity class. Superclasses are checked as well, so, for example, if there is a registeredEntityCheckforProductand the class isMemberProduct, it will be returned.
-
register
<E extends SimpleEntity> void register(EntityCheck<E> entityCheck)
Registers the givenEntityCheck
-
-