Package de.hsh.graja.transform
Enum Class Variant
- All Implemented Interfaces:
Serializable
,Comparable<Variant>
,Constable
All possible types of requests, i. e.
- Backend: single plainold only
- Frontend: single or multi / plainold or proforma.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis variant describes aBackendRequestTO
object.This variant describes aFrontendGrajaMultiRequestTO
object with assignments of typeFrontendPlainOldAssignmentTO
.This variant describes aFrontendGrajaMultiRequestTO
object with assignments of typeFrontendProformaAssignmentTO
.This variant describes aFrontendGrajaSingleRequestTO
object with an assignment of typeFrontendPlainOldAssignmentTO
.This variant describes aFrontendGrajaSingleRequestTO
object with an assignment of typeFrontendProformaAssignmentTO
.This variant describes aFrontendProformaSubmissionRequestTO
object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
isMulti()
boolean
isSingle()
static Variant
Returns the enum constant of this class with the specified name.static Variant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRONTEND_PROFORMA_SUBMISSION
This variant describes aFrontendProformaSubmissionRequestTO
object. -
FRONTEND_GRAJA_SINGLE_PLAINOLD
This variant describes aFrontendGrajaSingleRequestTO
object with an assignment of typeFrontendPlainOldAssignmentTO
. -
FRONTEND_GRAJA_MULTI_PLAINOLD
This variant describes aFrontendGrajaMultiRequestTO
object with assignments of typeFrontendPlainOldAssignmentTO
. -
FRONTEND_GRAJA_SINGLE_PROFORMA
This variant describes aFrontendGrajaSingleRequestTO
object with an assignment of typeFrontendProformaAssignmentTO
. -
FRONTEND_GRAJA_MULTI_PROFORMA
This variant describes aFrontendGrajaMultiRequestTO
object with assignments of typeFrontendProformaAssignmentTO
. -
BACKEND
This variant describes aBackendRequestTO
object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isMulti
public boolean isMulti()- Returns:
- true for
FRONTEND_GRAJA_MULTI_PLAINOLD
andFRONTEND_GRAJA_MULTI_PROFORMA
.
-
isSingle
public boolean isSingle()- Returns:
- true for
FRONTEND_GRAJA_SINGLE_PLAINOLD
andFRONTEND_GRAJA_SINGLE_PROFORMA
andBACKEND
.
-
isFrontend
public boolean isFrontend() -
isBackend
public boolean isBackend()- Returns:
- true for
BACKEND
.
-
isGrajaWithProformaAssignment
public boolean isGrajaWithProformaAssignment()- Returns:
- true for
FRONTEND_GRAJA_SINGLE_PROFORMA
andFRONTEND_GRAJA_MULTI_PROFORMA
.
-
isGrajaWithPlainOldAssignment
public boolean isGrajaWithPlainOldAssignment()- Returns:
- true for
BACKEND
,FRONTEND_GRAJA_SINGLE_PLAINOLD
,FRONTEND_GRAJA_MULTI_PLAINOLD
.
-