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 extendMultisiteApiOperation
.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 Summary
ConstructorsConstructorDescriptionMultisiteApiOperationType
(@NotNull Class<O> operationType, @NotNull Class<T> dataType, @NotNull Class<R> resultType) Constructs an instance ofMultisiteApiOperationType
. -
Method Summary
Modifier and TypeMethodDescriptionGets the class of the data type required for the operation.Gets the class of the operation type.Gets the class of the result type returned by the operation.
-
Constructor Details
-
MultisiteApiOperationType
public MultisiteApiOperationType(@NotNull @NotNull Class<O> operationType, @NotNull @NotNull Class<T> dataType, @NotNull @NotNull Class<R> resultType) Constructs an instance ofMultisiteApiOperationType
.- 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
Gets the class of the operation type.- Returns:
- the class of the operation type.
-
getDataType
Gets the class of the data type required for the operation.- Returns:
- the class of the data type.
-
getResultType
Gets the class of the result type returned by the operation.- Returns:
- the class of the result type.
-