|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFeatureTypeMapping
public class FeatureTypeMapping
Constructor Summary | |
---|---|
FeatureTypeMapping()
No parameters constructor for use by the digester configuration engine as a JavaBean |
|
FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
AttributeDescriptor target,
List<AttributeMapping> mappings,
NamespaceSupport namespaces)
|
|
FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source,
AttributeDescriptor target,
List<AttributeMapping> mappings,
NamespaceSupport namespaces,
boolean isDenormalised)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureTypeMapping()
public FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source, AttributeDescriptor target, List<AttributeMapping> mappings, NamespaceSupport namespaces)
public FeatureTypeMapping(FeatureSource<? extends FeatureType,? extends Feature> source, AttributeDescriptor target, List<AttributeMapping> mappings, NamespaceSupport namespaces, boolean isDenormalised)
Method Detail |
---|
public List<AttributeMapping> getAttributeMappings()
public List<NestedAttributeMapping> getNestedMappings()
public Expression getFeatureIdExpression()
public List<AttributeMapping> getAttributeMappingsIgnoreIndex(XPathUtil.StepList targetPath)
targetPath
-
public List<AttributeMapping> getAttributeMappingsByExpression(Expression sourceExpression)
sourceExpression
-
public AttributeMapping getAttributeMapping(XPathUtil.StepList exactPath)
exactPath
exactPath
- the xpath expression on the target schema to find the mapping for
exactPath
or null
ifpublic NamespaceSupport getNamespaces()
public void setTargetFeature(AttributeDescriptor feature)
#setTargetType(FeatureType)
elementName
- featureTypeName
- public AttributeDescriptor getTargetFeature()
public FeatureSource getSource()
public FeatureTypeMapping getUnderlyingComplexMapping()
public void setName(Name name)
public Name getMappingName()
public List<AttributeMapping> getIsListMappings()
public List<Expression> findMappingsFor(XPathUtil.StepList propertyName)
propertyName
.
If any step in propertyName
has index greater than 1, any mapping for the same
property applies, regardless of the mapping. For example, if there are mappings for
gml:name[1]
, gml:name[2]
and gml:name[3]
, but
propertyName is just gml:name
, all three mappings apply.
propertyName
-
public boolean isDenormalised()
public void setDenormalised(boolean isDenormalised)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |