|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAttributeMapping
NestedAttributeMapping
public class NestedAttributeMapping
This class represents AttributeMapping for attributes that are nested inside another complex attribute. The nested attributes would be features, or fake features, ie. complex attributes which types are wrapped with NonFeatureTypeProxy instances. The purpose of this class is to store nested built features so they can be retrieved when the parent feature is being built. Simple features are also stored for caching if a filter involving these nested features is run.
Field Summary | |
---|---|
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 |
Fields inherited from class AttributeMapping |
---|
sourceExpression, targetXPath |
Constructor Summary | |
---|---|
NestedAttributeMapping(Expression idExpression,
Expression parentExpression,
XPathUtil.StepList targetXPath,
boolean isMultiValued,
Map<Name,Expression> clientProperties,
Expression sourceElement,
XPathUtil.StepList sourcePath,
NamespaceSupport namespaces)
Sole constructor |
Method Summary | |
---|---|
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()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Expression nestedFeatureType
protected final XPathUtil.StepList nestedTargetXPath
protected FilterFactory filterFac
Constructor Detail |
---|
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 source
IOException
Method Detail |
---|
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 null
IOException
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 get
IOException
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |