Class MultisiteApiOperationType<O extends MultisiteApiOperation,T,R>

java.lang.Object
de.espirit.firstspirit.modules.multisite.agency.operation.MultisiteApiOperationType<O,T,R>
Type Parameters:
O - the type of the operation, which must extend MultisiteApiOperation.
T - the type of the data that the operation requires.
R - the type of the result returned by the operation.
All Implemented Interfaces:
Serializable

public final class MultisiteApiOperationType<O extends MultisiteApiOperation,T,R> extends Object implements Serializable
Represents the type of API operation within the multisite module.

This class encapsulates the operation type, the data type required for the operation, and the expected result type after the operation is executed.

See Also:
  • Constructor Details

    • MultisiteApiOperationType

      public MultisiteApiOperationType(@NotNull @NotNull Class<O> operationType, @NotNull @NotNull Class<T> dataType, @NotNull @NotNull Class<R> resultType)
      Constructs an instance of MultisiteApiOperationType.
      Parameters:
      operationType - the class of the operation type.
      dataType - the class of the data type required by the operation.
      resultType - the class of the result type returned by the operation.
  • Method Details

    • getOperationType

      @NotNull public @NotNull Class<O> getOperationType()
      Gets the class of the operation type.
      Returns:
      the class of the operation type.
    • getDataType

      @NotNull public @NotNull Class<T> getDataType()
      Gets the class of the data type required for the operation.
      Returns:
      the class of the data type.
    • getResultType

      @NotNull public @NotNull Class<R> getResultType()
      Gets the class of the result type returned by the operation.
      Returns:
      the class of the result type.