com.jurismarches.vradi.entities
Enum FieldTypeEnum
java.lang.Object
java.lang.Enum<FieldTypeEnum>
com.jurismarches.vradi.entities.FieldTypeEnum
- All Implemented Interfaces:
- Serializable, Comparable<FieldTypeEnum>
public enum FieldTypeEnum
- extends Enum<FieldTypeEnum>
- Author:
- letellier
STRING
public static final FieldTypeEnum STRING
TEXT
public static final FieldTypeEnum TEXT
DATE
public static final FieldTypeEnum DATE
DATE_TIME
public static final FieldTypeEnum DATE_TIME
EMAIL
public static final FieldTypeEnum EMAIL
URL
public static final FieldTypeEnum URL
NUMERIC
public static final FieldTypeEnum NUMERIC
CURRENCY
public static final FieldTypeEnum CURRENCY
CURRENCY_TAG_VALUE
public static final String CURRENCY_TAG_VALUE
- See Also:
- Constant Field Values
TAG_VALUE
protected String TAG_VALUE
tagValue
protected String tagValue
type
protected org.nuiton.wikitty.FieldType type
values
public static FieldTypeEnum[] 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 (FieldTypeEnum c : FieldTypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FieldTypeEnum 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 name
NullPointerException - if the argument is null
getTagValue
public String getTagValue()
getFieldType
public org.nuiton.wikitty.FieldType getFieldType()
isType
public boolean isType(org.nuiton.wikitty.FieldType type)
toString
public String toString()
- Overrides:
toString in class Enum<FieldTypeEnum>
valueOf
public static FieldTypeEnum valueOf(org.nuiton.wikitty.FieldType type)
getCurrency
public static FieldTypeEnum.Currency getCurrency(String value)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.