org.dasein.attributes
Enum DataType.InputType

java.lang.Object
  extended by java.lang.Enum<DataType.InputType>
      extended by org.dasein.attributes.DataType.InputType
All Implemented Interfaces:
Serializable, Comparable<DataType.InputType>
Enclosing class:
DataType<V>

public static enum DataType.InputType
extends Enum<DataType.InputType>

Represents a type of input field associated with inputting values associated with this attributes system.

Last modified: $Date: 2009/02/02 19:27:05 $

Version:
$Revision: 1.7 $
Author:
George Reese

Enum Constant Summary
CHECKBOX
           
DATE
           
MULTI_SELECT
           
PAIR
           
PASSWORD
           
SELECT
           
TEXT
           
TEXTAREA
           
TIME
           
 
Method Summary
static DataType.InputType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataType.InputType[] 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

DATE

public static final DataType.InputType DATE

TEXT

public static final DataType.InputType TEXT

TEXTAREA

public static final DataType.InputType TEXTAREA

SELECT

public static final DataType.InputType SELECT

MULTI_SELECT

public static final DataType.InputType MULTI_SELECT

CHECKBOX

public static final DataType.InputType CHECKBOX

PASSWORD

public static final DataType.InputType PASSWORD

PAIR

public static final DataType.InputType PAIR

TIME

public static final DataType.InputType TIME
Method Detail

values

public static DataType.InputType[] 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 (DataType.InputType c : DataType.InputType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataType.InputType 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


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.