|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.metadata.persistence.iso.PostGISMappingsISODC
public class PostGISMappingsISODC
Implementation of the PostGISMapping. It's the base class for access to the backend. Is there any change in
the database schema for the ISOMetadataStore then in this class should be changed the binding, as well. TODO
boundingbox, crs and association, denominator, distanceUOM, distanceValue put a type in
| Nested Class Summary | |
|---|---|
static class |
PostGISMappingsISODC.CommonColumnNames
The common column names that are used in the backend for each databasetable. |
static class |
PostGISMappingsISODC.DatabaseTables
The names of the databasetables that are used in the backend. |
| Field Summary | |
|---|---|
static java.lang.String |
BRIEFRECORD
XML element name in the representation of the response |
static java.lang.String |
RECORD
XML element name in the representation of the response |
static java.lang.String |
SUMMARYRECORD
XML element name in the representation of the response |
| Constructor Summary | |
|---|---|
PostGISMappingsISODC()
|
|
| Method Summary | |
|---|---|
PropertyNameMapping |
getMapping(PropertyName propName,
TableAliasManager aliasManager)
Returns the PropertyNameMapping for the given PropertyName. |
byte[] |
getPostGISValue(Geometry literal,
PropertyName propName)
Returns the WKB for the given Geometry in the CRS that is imposed by the relational mapping of the
specified PropertyName. |
java.lang.Object |
getPostGISValue(Literal literal,
PropertyName propName)
Returns the value object for the given Literal, adapted to the SQL type that is imposed by the relational
mapping of the specified PropertyName. |
java.util.Map<javax.xml.namespace.QName,Triple<java.lang.String,java.lang.String,PrimitiveType>> |
getPropToTableAndCol()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BRIEFRECORD
public static final java.lang.String SUMMARYRECORD
public static final java.lang.String RECORD
| Constructor Detail |
|---|
public PostGISMappingsISODC()
| Method Detail |
|---|
public PropertyNameMapping getMapping(PropertyName propName,
TableAliasManager aliasManager)
throws FilterEvaluationException
PostGISMappingPropertyNameMapping for the given PropertyName.
getMapping in interface PostGISMappingpropName - property name, can be null (indicates that the default geometry property of the root
object is requested)aliasManager - manager for creating and tracking table aliases, never null
null (if no mapping is possible)
FilterEvaluationException - thrown to indicate that the PropertyName is invalid
public java.lang.Object getPostGISValue(Literal literal,
PropertyName propName)
throws FilterEvaluationException
PostGISMappingLiteral, adapted to the SQL type that is imposed by the relational
mapping of the specified PropertyName.
getPostGISValue in interface PostGISMappingliteral - literal to be converted, never nullpropName - property name, never null
null
FilterEvaluationException
public byte[] getPostGISValue(Geometry literal,
PropertyName propName)
throws FilterEvaluationException
PostGISMappingGeometry in the CRS that is imposed by the relational mapping of the
specified PropertyName.
getPostGISValue in interface PostGISMappingliteral - literal to be converted, never nullpropName - property name, can be null (indicates that the default geometry property of the root
object is requested)
null
FilterEvaluationExceptionpublic java.util.Map<javax.xml.namespace.QName,Triple<java.lang.String,java.lang.String,PrimitiveType>> getPropToTableAndCol()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||