org.hibernatespatial.criterion
Class DWithinExpression

java.lang.Object
  extended by org.hibernatespatial.criterion.DWithinExpression
All Implemented Interfaces:
Serializable, org.hibernate.criterion.Criterion

public class DWithinExpression
extends Object
implements org.hibernate.criterion.Criterion

Author:
Karel Maesen, Geovise BVBA creation-date: 2/1/11
See Also:
Serialized Form

Constructor Summary
DWithinExpression(String propertyName, com.vividsolutions.jts.geom.Geometry geometry, double distance)
           
 
Method Summary
 org.hibernate.engine.TypedValue[] getTypedValues(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)
           
 String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DWithinExpression

public DWithinExpression(String propertyName,
                         com.vividsolutions.jts.geom.Geometry geometry,
                         double distance)
Method Detail

toSqlString

public String toSqlString(org.hibernate.Criteria criteria,
                          org.hibernate.criterion.CriteriaQuery criteriaQuery)
                   throws org.hibernate.HibernateException
Specified by:
toSqlString in interface org.hibernate.criterion.Criterion
Throws:
org.hibernate.HibernateException

getTypedValues

public org.hibernate.engine.TypedValue[] getTypedValues(org.hibernate.Criteria criteria,
                                                        org.hibernate.criterion.CriteriaQuery criteriaQuery)
                                                 throws org.hibernate.HibernateException
Specified by:
getTypedValues in interface org.hibernate.criterion.Criterion
Throws:
org.hibernate.HibernateException


Copyright © 2011 hibernatespatial.org. All Rights Reserved.