org.deegree.feature.persistence.sql.rules
Class ConstantMapping<T extends TypedObjectNode>
java.lang.Object
org.deegree.feature.persistence.sql.rules.Mapping
org.deegree.feature.persistence.sql.rules.ConstantMapping<T>
public class ConstantMapping<T extends TypedObjectNode>
- extends Mapping
Mapping
of a particle to a fixed value.
- Version:
- $Revision: $, $Date: $
- Author:
- Markus Schneider, last edited by: $Author: markus $
Method Summary |
T |
getValue()
Returns the value that the particle is mapped to. |
ConstantMapping
public ConstantMapping(ValueReference path,
T value)
- Creates a new
ConstantMapping
instance.
- Parameters:
path
- relative xpath expression, must not be null
value
- the value of the particle, must not be null
getValue
public T getValue()
- Returns the value that the particle is mapped to.
- Returns:
- the value of the particle, never
null
Copyright © 2011. All Rights Reserved.