org.deegree.metadata.iso.persistence
Class ISOPropertyNameMapper
java.lang.Object
org.deegree.metadata.iso.persistence.ISOPropertyNameMapper
- All Implemented Interfaces:
- PropertyNameMapper
public class ISOPropertyNameMapper
- extends Object
- implements PropertyNameMapper
Implementation of the PropertyNameMapper
. 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 denominator, distanceUOM, distanceValue put a type in
- Version:
- $Revision: 31272 $, $Date: 2011-07-13 23:10:35 +0200 (Mi, 13. Jul 2011) $
- Author:
- Steffen Thomas, last edited by: $Author: mschneider $
Field Summary |
static String |
RECORD
XML element name in the representation of the response |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RECORD
public static final String RECORD
- XML element name in the representation of the response
- See Also:
- Constant Field Values
ISOPropertyNameMapper
public ISOPropertyNameMapper(ConnectionManager.Type connectionType,
boolean useLegacyPredicates)
getMapping
public PropertyNameMapping getMapping(ValueReference propName,
TableAliasManager aliasManager)
throws FilterEvaluationException
- Description copied from interface:
PropertyNameMapper
- Returns the
PropertyNameMapping
for the given ValueReference
.
- Specified by:
getMapping
in interface PropertyNameMapper
- Parameters:
propName
- 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
- Returns:
- relational mapping, may be
null
(if no mapping is possible)
- Throws:
FilterEvaluationException
- indicates that the ValueReference
is invalid
getPropToTableAndCol
public Map<QName,Triple<Pair<String,String>,Boolean,BaseType>> getPropToTableAndCol()
- Returns:
- a map〈QName, PropertyNameMapping〉 can not be
null
Copyright © 2011. All Rights Reserved.