Class PersistentOperationClassVariables<T extends Operation<T>,​P extends AbstractPersistentOperation<T,​P>>

    • Field Detail

      • operationClass

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

      • 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 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 type
        P - the persistence class type
        Parameters:
        operationClass - the operation's class (i.e. interface)
        clazz - the class of the derived operation