org.hibernate.spatial
Class GeometryType

java.lang.Object
  extended by org.hibernate.type.AbstractStandardBasicType<T>
      extended by org.hibernate.type.AbstractSingleColumnStandardBasicType<com.vividsolutions.jts.geom.Geometry>
          extended by org.hibernate.spatial.GeometryType
All Implemented Interfaces:
java.io.Serializable, org.hibernate.type.BasicType, org.hibernate.type.SingleColumnType<com.vividsolutions.jts.geom.Geometry>, org.hibernate.type.StringRepresentableType<com.vividsolutions.jts.geom.Geometry>, org.hibernate.type.Type, org.hibernate.type.XmlRepresentableType<com.vividsolutions.jts.geom.Geometry>

public class GeometryType
extends org.hibernate.type.AbstractSingleColumnStandardBasicType<com.vividsolutions.jts.geom.Geometry>

A BasicType for JTS Geometrys.

See Also:
Serialized Form

Field Summary
static GeometryType INSTANCE
           
 
Constructor Summary
GeometryType()
           
 
Method Summary
 java.lang.String getName()
          Returns the abbreviated name of the type.
 java.lang.String[] getRegistrationKeys()
          Get the names under which this type should be registered in the type registry.
 
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet, sqlType
 
Methods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getHashCode, getHashCode, getJavaTypeDescriptor, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
 
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString
 

Field Detail

INSTANCE

public static final GeometryType INSTANCE
Constructor Detail

GeometryType

public GeometryType()
Method Detail

getRegistrationKeys

public java.lang.String[] getRegistrationKeys()
Description copied from interface: org.hibernate.type.BasicType
Get the names under which this type should be registered in the type registry.

Specified by:
getRegistrationKeys in interface org.hibernate.type.BasicType
Overrides:
getRegistrationKeys in class org.hibernate.type.AbstractStandardBasicType<com.vividsolutions.jts.geom.Geometry>
Returns:
The keys under which to register this type.

getName

public java.lang.String getName()
Description copied from interface: org.hibernate.type.Type
Returns the abbreviated name of the type.

Returns:
String the Hibernate type name