Module org.tentackle.persistence
Package org.tentackle.persist
Class PersistentOperationClassVariables<T extends Operation<T>,P extends AbstractPersistentOperation<T,P>>
- java.lang.Object
-
- org.tentackle.dbms.DbOperationClassVariables<P>
-
- org.tentackle.persist.PersistentOperationClassVariables<T,P>
-
- Type Parameters:
T- the operation class typeP- the persistence class type
public class PersistentOperationClassVariables<T extends Operation<T>,P extends AbstractPersistentOperation<T,P>> extends DbOperationClassVariables<P>
ExtendsDbObjectClassVariablesforAbstractPersistentOperations.- Author:
- harald
-
-
Field Summary
Fields Modifier and Type Field Description OperationMethodCache<T>methodCacheThe PDO method invocation cache.Class<T>operationClassThe associated operation class (i.e.-
Fields inherited from class org.tentackle.dbms.DbOperationClassVariables
className, clazz, remoteDelegateId
-
-
Constructor Summary
Constructors Constructor Description PersistentOperationClassVariables(Class<T> operationClass, Class<P> clazz)Constructs a classvariable.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Operation<T>,P extends AbstractPersistentOperation<T,P>>
PersistentOperationClassVariables<T,P>create(Class<T> operationClass, Class<P> clazz)Creates an operation classvariable.-
Methods inherited from class org.tentackle.dbms.DbOperationClassVariables
create, getRemoteDelegate, getRemoteDelegateId, toString
-
-
-
-
Method Detail
-
create
public static <T extends Operation<T>,P extends AbstractPersistentOperation<T,P>> PersistentOperationClassVariables<T,P> create(Class<T> operationClass, Class<P> clazz)
Creates an operation classvariable.- Type Parameters:
T- the operation class typeP- the persistence class type- Parameters:
operationClass- the operation's class (i.e. interface)clazz- the class of the derived operation
-
-