com.alarmpoint.integrations.nnmi.mg
Enum FieldType

java.lang.Object
  extended by java.lang.Enum<FieldType>
      extended by com.alarmpoint.integrations.nnmi.mg.FieldType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FieldType>

public enum FieldType
extends java.lang.Enum<FieldType>

Defines the field types which are used in the Mobile Gateway.

Author:
amagi

Enum Constant Summary
BOOLEAN
           
DATE
           
DISABLED
           
HIDDEN
           
LIST
           
READONLY
           
READONLYBOOLEAN
           
READONLYDATE
           
SEARCH
           
TABLE
           
TEXT
           
TEXTAREA
           
 
Method Summary
static FieldType valueOf(java.lang.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 java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

READONLY

public static final FieldType READONLY

TEXT

public static final FieldType TEXT

TEXTAREA

public static final FieldType TEXTAREA

DATE

public static final FieldType DATE

READONLYDATE

public static final FieldType READONLYDATE

BOOLEAN

public static final FieldType BOOLEAN

READONLYBOOLEAN

public static final FieldType READONLYBOOLEAN

DISABLED

public static final FieldType DISABLED

LIST

public static final FieldType LIST

TABLE

public static final FieldType TABLE

HIDDEN

public static final FieldType HIDDEN

SEARCH

public static final FieldType SEARCH
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null