Package net.pricefx.common.api
Enum Class CustomFormStatus
- All Implemented Interfaces:
Serializable,Comparable<CustomFormStatus>,Constable
Status of a Custom Form in its life cycle, for example as returned by
QapiCustomForm.formStatus().-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Custom Form was approved.The Custom Form is new, or its submission for approval was withdrawn.The Custom Form was not approved when another revision of the same form was approved.The Custom Form was approved and then revoked.The Custom Form was approved, and then another revision of the same form was approved. -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomFormStatusReturns the enum constant of this class with the specified name.static CustomFormStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DRAFT
The Custom Form is new, or its submission for approval was withdrawn. -
APPROVED
The Custom Form was approved. -
REVOKED
The Custom Form was approved and then revoked. -
SUPERSEDED
The Custom Form was approved, and then another revision of the same form was approved. -
INVALIDATED
The Custom Form was not approved when another revision of the same form was approved. A pending approval of the form is invalidated.
-
-
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
-