Package org.hibernate.spatial.criterion
Class HavingSridExpression
- java.lang.Object
-
- org.hibernate.spatial.criterion.HavingSridExpression
-
- All Implemented Interfaces:
Serializable,org.hibernate.criterion.Criterion
public class HavingSridExpression extends Object implements org.hibernate.criterion.Criterion
ACriterionconstraining a geometry property to have a specified SRID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HavingSridExpression(String propertyName, int srid)Constructs an instance for the specified property and srid
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.engine.spi.TypedValue[]getTypedValues(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)StringtoSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)
-
-
-
Constructor Detail
-
HavingSridExpression
public HavingSridExpression(String propertyName, int srid)
Constructs an instance for the specified property and srid- Parameters:
propertyName- The name of the property being constrainedsrid- The srid
-
-
Method Detail
-
toSqlString
public String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException
- Specified by:
toSqlStringin interfaceorg.hibernate.criterion.Criterion- Throws:
org.hibernate.HibernateException
-
getTypedValues
public org.hibernate.engine.spi.TypedValue[] getTypedValues(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException- Specified by:
getTypedValuesin interfaceorg.hibernate.criterion.Criterion- Throws:
org.hibernate.HibernateException
-
-