hirondelle.web4jtools.codegenerator.codes
Enum FieldType
Object
Enum<FieldType>
hirondelle.web4jtools.codegenerator.codes.FieldType
- All Implemented Interfaces:
- Serializable, Comparable<FieldType>
public enum FieldType
- extends Enum<FieldType>
Enumeration for the class of a field in a Model Object.
Method Summary |
String |
getQualifiedName()
Return the package-qualified name of the class. |
static FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Id
public static final FieldType Id
SafeText
public static final FieldType SafeText
String
public static final FieldType String
Boolean
public static final FieldType Boolean
Date
public static final FieldType Date
DateTime
public static final FieldType DateTime
Decimal
public static final FieldType Decimal
BigDecimal
public static final FieldType BigDecimal
Integer
public static final FieldType Integer
Long
public static final FieldType Long
Locale
public static final FieldType Locale
TimeZone
public static final FieldType TimeZone
values
public static FieldType[] 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 (FieldType c : FieldType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FieldType 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
getQualifiedName
public String getQualifiedName()
- Return the package-qualified name of the class.
Copyright Hirondelle Systems - Generated 2013Oct19.12.26