org.hibernatespatial.helper
Class GeometryPropertyFinder
java.lang.Object
org.hibernatespatial.helper.GeometryPropertyFinder
- All Implemented Interfaces:
- FinderStrategy<String,org.hibernate.metadata.ClassMetadata>
public class GeometryPropertyFinder
- extends Object
- implements FinderStrategy<String,org.hibernate.metadata.ClassMetadata>
This FinderStrategy
implementation returns the first
geometry-valued property.
Method Summary |
String |
find(org.hibernate.metadata.ClassMetadata metadata)
Find a feature or property of a subject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryPropertyFinder
public GeometryPropertyFinder()
find
public String find(org.hibernate.metadata.ClassMetadata metadata)
throws FinderException
- Description copied from interface:
FinderStrategy
- Find a feature or property of a subject
- Specified by:
find
in interface FinderStrategy<String,org.hibernate.metadata.ClassMetadata>
- Parameters:
metadata
- the object that is being searched
- Returns:
- the object sought
- Throws:
FinderException
- thrown when the feature can be found;
Copyright © 2011 hibernatespatial.org. All Rights Reserved.