com.softwareag.centrasite.appl.framework.persistence.mapper.annotations
Enum Slot.Type

java.lang.Object
  extended by java.lang.Enum<Slot.Type>
      extended by com.softwareag.centrasite.appl.framework.persistence.mapper.annotations.Slot.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Slot.Type>
Enclosing class:
Slot

public static enum Slot.Type
extends java.lang.Enum<Slot.Type>

Supported types for the slot values.


Enum Constant Summary
AUTO
          The default value.
BOOLEAN
          Maps to Boolean or boolean.
CALENDAR
          Maps to Calendar.
DATE
          Maps to Date.
INTEGER
          Maps to Integer or int.
LONG
          Maps to Long, or long.
TIMESTAMP
          Maps to Date as timestamp.
 
Method Summary
static Slot.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Slot.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

BOOLEAN

public static final Slot.Type BOOLEAN
Maps to Boolean or boolean.


DATE

public static final Slot.Type DATE
Maps to Date.


CALENDAR

public static final Slot.Type CALENDAR
Maps to Calendar.


INTEGER

public static final Slot.Type INTEGER
Maps to Integer or int.


TIMESTAMP

public static final Slot.Type TIMESTAMP
Maps to Date as timestamp.


AUTO

public static final Slot.Type AUTO
The default value. The mapper tries to guess the type based on value of getter of bean property.


LONG

public static final Slot.Type LONG
Maps to Long, or long.

Method Detail

values

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

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

valueOf

public static Slot.Type 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