Package org.cyclos.model.system.fields
Enum CustomFieldNature
- java.lang.Object
-
- java.lang.Enum<CustomFieldNature>
-
- org.cyclos.model.system.fields.CustomFieldNature
-
- All Implemented Interfaces:
Serializable,Comparable<CustomFieldNature>
public enum CustomFieldNature extends Enum<CustomFieldNature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADCONTACTCONTACT_INFOCUSTOM_OPERATIONCUSTOM_WIZARDDOCUMENTRECORDTRANSFERUSERVOUCHER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomFieldNaturevalueOf(String name)Returns the enum constant of this type with the specified name.static CustomFieldNature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final CustomFieldNature USER
-
CONTACT
public static final CustomFieldNature CONTACT
-
CONTACT_INFO
public static final CustomFieldNature CONTACT_INFO
-
TRANSFER
public static final CustomFieldNature TRANSFER
-
AD
public static final CustomFieldNature AD
-
RECORD
public static final CustomFieldNature RECORD
-
DOCUMENT
public static final CustomFieldNature DOCUMENT
-
CUSTOM_OPERATION
public static final CustomFieldNature CUSTOM_OPERATION
-
CUSTOM_WIZARD
public static final CustomFieldNature CUSTOM_WIZARD
-
VOUCHER
public static final CustomFieldNature VOUCHER
-
-
Method Detail
-
values
public static CustomFieldNature[] 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 (CustomFieldNature c : CustomFieldNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomFieldNature 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
-
-