deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.record.persistence
Enum MappingInfo.ColumnType

java.lang.Object
  extended by java.lang.Enum<MappingInfo.ColumnType>
      extended by org.deegree.record.persistence.MappingInfo.ColumnType
All Implemented Interfaces:
Serializable, Comparable<MappingInfo.ColumnType>
Enclosing class:
MappingInfo

public static enum MappingInfo.ColumnType
extends Enum<MappingInfo.ColumnType>

Specifies the datatype for a property in the backend.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Enum Constant Summary
DATE
          a date
ENVELOPE
          an envelope
FLOAT
          a float
INTEGER
          an integer
STRING
          a string
 
Method Summary
static MappingInfo.ColumnType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MappingInfo.ColumnType[] 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

STRING

public static final MappingInfo.ColumnType STRING
a string


INTEGER

public static final MappingInfo.ColumnType INTEGER
an integer


DATE

public static final MappingInfo.ColumnType DATE
a date


ENVELOPE

public static final MappingInfo.ColumnType ENVELOPE
an envelope


FLOAT

public static final MappingInfo.ColumnType FLOAT
a float

Method Detail

values

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

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

valueOf

public static MappingInfo.ColumnType 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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>