org.hibernatespatial.cfg
Enum HSProperty

java.lang.Object
  extended by java.lang.Enum<HSProperty>
      extended by org.hibernatespatial.cfg.HSProperty
All Implemented Interfaces:
Serializable, Comparable<HSProperty>

public enum HSProperty
extends Enum<HSProperty>

This enum contains the configurable properties of the Hibernate Spatial Extension.

Author:
Karel Maesen

Enum Constant Summary
DEFAULT_DIALECT
           
PRECISION_MODEL
           
PRECISION_MODEL_SCALE
           
 
Method Summary
static HSProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HSProperty[] 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

DEFAULT_DIALECT

public static final HSProperty DEFAULT_DIALECT

PRECISION_MODEL

public static final HSProperty PRECISION_MODEL

PRECISION_MODEL_SCALE

public static final HSProperty PRECISION_MODEL_SCALE
Method Detail

values

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

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

valueOf

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


Copyright © 2011 hibernatespatial.org. All Rights Reserved.