com.pecasim.model
Enum DATATYPE

java.lang.Object
  extended by java.lang.Enum<DATATYPE>
      extended by com.pecasim.model.DATATYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DATATYPE>

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

Author:
cbu

Enum Constant Summary
BOOLEAN
           
DATE
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
STRING
           
 
Method Summary
static java.lang.String[] getAllJavaNames()
          Liefert alle Java-Namen
 java.lang.String getJavaName()
          Liefert den Java-Name
static DATATYPE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DATATYPE[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRING

public static final DATATYPE STRING

BOOLEAN

public static final DATATYPE BOOLEAN

INT

public static final DATATYPE INT

LONG

public static final DATATYPE LONG

FLOAT

public static final DATATYPE FLOAT

DOUBLE

public static final DATATYPE DOUBLE

DATE

public static final DATATYPE DATE
Method Detail

values

public static final DATATYPE[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DATATYPE c : DATATYPE.values())
        System.out.println(c);

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

valueOf

public static DATATYPE 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

getAllJavaNames

public static java.lang.String[] getAllJavaNames()
Liefert alle Java-Namen

Returns:
Array of Strings

getJavaName

public java.lang.String getJavaName()
Liefert den Java-Name

Returns:
String