org.hibernatespatial.cfg
Enum HSProperty
java.lang.Object
java.lang.Enum<HSProperty>
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
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. |
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
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.