de.cau.cs.kieler.kvid.data
Enum DataType

java.lang.Object
  extended by java.lang.Enum<DataType>
      extended by de.cau.cs.kieler.kvid.data.DataType
All Implemented Interfaces:
Comparable<DataType>

Deprecated. the detection of the data type has to be done by clients now

public enum DataType
extends Enum<DataType>

Enum for data types known and processed by KViD. Use STRING as a default if you have data in string representation.

Rating red

Enum Constant Summary
BOOLEAN
          Deprecated. Value for data represented as boolean.
FLOAT
          Deprecated. Value for floating point data.
INT
          Deprecated. Value for integer data.
STRING
          Deprecated. Value for data represented by a string.
 
Method Summary
static DataType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static DataType[] values()
          Deprecated. 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

INT

public static final DataType INT
Deprecated. 
Value for integer data.


FLOAT

public static final DataType FLOAT
Deprecated. 
Value for floating point data.


STRING

public static final DataType STRING
Deprecated. 
Value for data represented by a string. Can be used if data type is unknown to proceed data unprocessed.


BOOLEAN

public static final DataType BOOLEAN
Deprecated. 
Value for data represented as boolean.

Method Detail

values

public static DataType[] values()
Deprecated. 
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 c : DataType.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 valueOf(String name)
Deprecated. 
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