WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.codegenerator.codes
Enum FieldType

Object
  extended by Enum<FieldType>
      extended by 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.


Enum Constant Summary
BigDecimal
           
Boolean
           
Date
           
DateTime
           
Decimal
           
Id
           
Integer
           
Locale
           
Long
           
SafeText
           
String
           
TimeZone
           
 
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.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.


WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26