Package de.xima.fc.mdl.enums
Enum EFormTargetState
- All Implemented Interfaces:
Serializable
,Comparable<EFormTargetState>
When a form is submitted, a new state must be determined for the form. This enumeration describes how to determine
that state. The normal and most common behavior is
SUBMIT
, ie. setting the state to
RECEIVED
when a form is submitted for the first time.- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EFormTargetState
Returns the enum constant of this type with the specified name.static EFormTargetState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SAVE
Form is put into the specialSAVED
state. -
SUBMIT
When the form is submitted normally. The new state is either the special stateRECEIVED
(when newly submitted), or the resubmission state (when submitted again). -
CURRENT
The current state is not changed. When the form was newly submitted and has got no state, it is put into the stateRECEIVED
. -
CUSTOM
The new state for the form is read from the parameterxfc-pp-state
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-