public class NestedAttributeMapping extends AttributeMapping
Modifier and Type | Field and Description |
---|---|
protected FilterFactory |
filterFac
Filter factory
|
protected Expression |
nestedFeatureType
Name of the nested features element
|
protected XPathUtil.StepList |
nestedTargetXPath
Target xpath that links to nested features
|
sourceExpression, targetXPath
Constructor and Description |
---|
NestedAttributeMapping(Expression idExpression,
Expression parentExpression,
XPathUtil.StepList targetXPath,
boolean isMultiValued,
Map<Name,Expression> clientProperties,
Expression sourceElement,
XPathUtil.StepList sourcePath,
NamespaceSupport namespaces)
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
List<Feature> |
getFeatures(Object foreignKeyValue,
CoordinateReferenceSystem reprojection,
Feature feature,
int resolveDepth,
Integer resolveTimeOut)
Get the maching built features that are stored in this mapping using a supplied link value
|
List<Feature> |
getFeatures(Object source,
Object foreignKeyValue,
List<Object> idValues,
CoordinateReferenceSystem reprojection,
Object feature,
List<PropertyName> selectedProperties,
boolean includeMandatory,
int resolveDepth,
Integer resolveTimeOut)
Get the maching built features that are stored in this mapping using a supplied link value
|
FeatureTypeMapping |
getFeatureTypeMapping(Feature feature) |
List<Feature> |
getInputFeatures(Object foreignKeyValue,
FeatureTypeMapping fMapping)
Get matching input features that are stored in this mapping using a supplied link value.
|
List<Feature> |
getInputFeatures(Object caller,
Object foreignKeyValue,
List<Object> idValues,
Object feature,
CoordinateReferenceSystem reprojection,
List<PropertyName> selectedProperties,
boolean includeMandatory)
Get matching input features that are stored in this mapping using a supplied link value.
|
AttributeMapping |
getMapping(FeatureTypeMapping featureTypeMapping) |
protected FeatureSource<FeatureType,Feature> |
getMappingSource(Object feature) |
NamespaceSupport |
getNamespaces() |
Object |
getNestedFeatureType(Object feature) |
boolean |
isConditional() |
boolean |
isNestedAttribute()
This is overridden by NestedAttributeMapping
|
boolean |
isSameSource() |
encodeIfEmpty, equals, getClientProperties, getIdentifierExpression, getIndexField, getInstanceXpath, getLabel, getMultipleValue, getParentLabel, getSourceExpression, getSourceIndex, getTargetNodeInstance, getTargetXPath, hashCode, isList, isMultiValued, setEncodeIfEmpty, setIdentifierExpression, setIndexField, setInstanceXpath, setLabel, setList, setParentLabel, toString
protected final Expression nestedFeatureType
protected final XPathUtil.StepList nestedTargetXPath
protected FilterFactory filterFac
public NestedAttributeMapping(Expression idExpression, Expression parentExpression, XPathUtil.StepList targetXPath, boolean isMultiValued, Map<Name,Expression> clientProperties, Expression sourceElement, XPathUtil.StepList sourcePath, NamespaceSupport namespaces) throws IOException
idExpression
- parentExpression
- targetXPath
- targetNodeInstance
- isMultiValued
- clientProperties
- sourceElement
- parent feature element typesourcePath
- XPath link to nested featureparentSource
- parent feature sourceIOException
public boolean isNestedAttribute()
AttributeMapping
isNestedAttribute
in class AttributeMapping
public List<Feature> getInputFeatures(Object caller, Object foreignKeyValue, List<Object> idValues, Object feature, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory) throws IOException
foreignKeyValue
- IOException
IOException
public AttributeMapping getMapping(FeatureTypeMapping featureTypeMapping)
public List<Feature> getInputFeatures(Object foreignKeyValue, FeatureTypeMapping fMapping) throws IOException
foreignKeyValue
- IOException
IOException
public List<Feature> getFeatures(Object foreignKeyValue, CoordinateReferenceSystem reprojection, Feature feature, int resolveDepth, Integer resolveTimeOut) throws IOException
foreignKeyValue
- reprojection
- Reprojected CRS or nullIOException
public List<Feature> getFeatures(Object source, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut) throws IOException
foreignKeyValue
- reprojection
- Reprojected CRS or nullselectedProperties
- list of properties to getIOException
protected FeatureSource<FeatureType,Feature> getMappingSource(Object feature) throws IOException
IOException
public Object getNestedFeatureType(Object feature)
public boolean isConditional()
public boolean isSameSource()
public FeatureTypeMapping getFeatureTypeMapping(Feature feature) throws IOException
IOException
public NamespaceSupport getNamespaces()
Copyright © 1996–2019 Geotools. All rights reserved.