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 type
P - the persistence class type

public class PersistentOperationClassVariables<T extends Operation<T>,P extends AbstractPersistentOperation<T,P>> extends DbOperationClassVariables<P>
Author:
harald
  • Field Details

    • operationClass

      public final Class<T extends Operation<T>> operationClass
      The associated operation class (i.e. the interface)
    • methodCache

      public final OperationMethodCache<T extends Operation<T>> methodCache
      The PDO method invocation cache.
  • Constructor Details

    • PersistentOperationClassVariables

      public PersistentOperationClassVariables(Class<T> operationClass, Class<P> clazz)
      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, P>> PersistentOperationClassVariables<T,P> create(Class<T> operationClass, Class<P> clazz)
      Creates an operation class variable.
      Type Parameters:
      T - the operation class type
      P - the persistence class type
      Parameters:
      operationClass - the operation's class (i.e. interface)
      clazz - the class of the derived operation