Package de.hsh.graja.transform
Enum Class Variant
- All Implemented Interfaces:
Serializable
,Comparable<Variant>
,Constable
All possible types of requests, i. e.
- Backend: plainold only
- Frontend: 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 aFrontendGrajaRequestTO
object with an assignment of typeFrontendPlainOldAssignmentTO
.This variant describes aFrontendGrajaRequestTO
object with an assignment of typeFrontendProformaAssignmentTO
.This variant describes aFrontendProformaSubmissionRequestTO
object. -
Method Summary
-
Enum Constant Details
-
FRONTEND_PROFORMA_SUBMISSION
This variant describes aFrontendProformaSubmissionRequestTO
object. -
FRONTEND_GRAJA_PLAINOLD
This variant describes aFrontendGrajaRequestTO
object with an assignment of typeFrontendPlainOldAssignmentTO
. -
FRONTEND_GRAJA_PROFORMA
This variant describes aFrontendGrajaRequestTO
object with an assignment 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
-
isFrontend
public boolean isFrontend()- Returns:
- true for
FRONTEND_GRAJA_PLAINOLD
andFRONTEND_GRAJA_PROFORMA
.
-
isBackend
public boolean isBackend()- Returns:
- true for
BACKEND
.
-
isGrajaWithProformaAssignment
public boolean isGrajaWithProformaAssignment()- Returns:
- true for
FRONTEND_GRAJA_PROFORMA
-
isGrajaWithPlainOldAssignment
public boolean isGrajaWithPlainOldAssignment()- Returns:
- true for
BACKEND
,FRONTEND_GRAJA_PLAINOLD
-