Package de.xima.fc.form.common.statics
Enum ERequiredIfType
- java.lang.Object
-
- java.lang.Enum<ERequiredIfType>
-
- de.xima.fc.form.common.statics.ERequiredIfType
-
- All Implemented Interfaces:
Serializable
,Comparable<ERequiredIfType>
public enum ERequiredIfType extends Enum<ERequiredIfType>
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEEN
EMPTY
EQUAL
GREATER_OR_EQUAL
GREATER_THAN
LESS_OR_EQUAL
LESS_THAN
MANDATORY
NOT_EQUAL
REGEX
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ERequiredIfType
getByCode(String code)
static ERequiredIfType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ERequiredIfType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANDATORY
public static final ERequiredIfType MANDATORY
-
EMPTY
public static final ERequiredIfType EMPTY
-
EQUAL
public static final ERequiredIfType EQUAL
-
NOT_EQUAL
public static final ERequiredIfType NOT_EQUAL
-
REGEX
public static final ERequiredIfType REGEX
-
LESS_THAN
public static final ERequiredIfType LESS_THAN
-
GREATER_THAN
public static final ERequiredIfType GREATER_THAN
-
BETWEEN
public static final ERequiredIfType BETWEEN
-
LESS_OR_EQUAL
public static final ERequiredIfType LESS_OR_EQUAL
-
GREATER_OR_EQUAL
public static final ERequiredIfType GREATER_OR_EQUAL
-
UNKNOWN
public static final ERequiredIfType UNKNOWN
-
-
Method Detail
-
values
public static ERequiredIfType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ERequiredIfType c : ERequiredIfType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ERequiredIfType valueOf(String name)
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
-
getByCode
public static ERequiredIfType getByCode(String code)
-
-