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>
Extends
DbObjectClassVariables for AbstractPersistentOperations.- Author:
- harald
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal OperationMethodCache<T>The PDO method invocation cache.The associated operation class (i.e.Fields inherited from class org.tentackle.dbms.DbOperationClassVariables
className, clazz, remoteDelegateId -
Constructor Summary
ConstructorsConstructorDescriptionPersistentOperationClassVariables(Class<T> operationClass, Class<P> clazz) Constructs a classvariable. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Operation<T>,P extends AbstractPersistentOperation<T, P>>
PersistentOperationClassVariables<T,P> Creates an operation classvariable.Methods inherited from class org.tentackle.dbms.DbOperationClassVariables
create, getRemoteDelegate, getRemoteDelegateId, toString
-
Field Details
-
operationClass
The associated operation class (i.e. the interface) -
methodCache
The PDO method invocation cache.
-
-
Constructor Details
-
PersistentOperationClassVariables
Constructs a classvariable.- Parameters:
operationClass- the operation's class (i.e. interface)clazz- the class of the derived operation
-
-
Method Details
-
create
public static <T extends Operation<T>,P extends AbstractPersistentOperation<T, PersistentOperationClassVariables<T,P>> 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
-