org.eobjects.metamodel.schema
Enum SuperColumnType

java.lang.Object
  extended by java.lang.Enum<SuperColumnType>
      extended by org.eobjects.metamodel.schema.SuperColumnType
All Implemented Interfaces:
Serializable, Comparable<SuperColumnType>

public enum SuperColumnType
extends Enum<SuperColumnType>

Represents an abstract, generalized type of column


Enum Constant Summary
BINARY_TYPE
           
BOOLEAN_TYPE
           
LITERAL_TYPE
           
NUMBER_TYPE
           
OTHER_TYPE
           
TIME_TYPE
           
 
Method Summary
 Class<?> getJavaEquivalentClass()
           
static SuperColumnType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SuperColumnType[] 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

BOOLEAN_TYPE

public static final SuperColumnType BOOLEAN_TYPE

LITERAL_TYPE

public static final SuperColumnType LITERAL_TYPE

NUMBER_TYPE

public static final SuperColumnType NUMBER_TYPE

TIME_TYPE

public static final SuperColumnType TIME_TYPE

BINARY_TYPE

public static final SuperColumnType BINARY_TYPE

OTHER_TYPE

public static final SuperColumnType OTHER_TYPE
Method Detail

values

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

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

valueOf

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

getJavaEquivalentClass

public Class<?> getJavaEquivalentClass()
Returns:
a java class that is appropriate for handling column values of this column super type


Copyright © 2007-2013. All Rights Reserved.