Package org.geotools.data.complex
Class AttributeMapping
- Object
-
- AttributeMapping
-
- Direct Known Subclasses:
NestedAttributeMapping
public class AttributeMapping extends Object
- Since:
- 2.4
- Author:
- Gabriel Roldan (Axios Engineering), Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
-
Field Summary
Fields Modifier and Type Field Description protected ExpressionsourceExpressionprotected XPathUtil.StepListtargetXPath
-
Constructor Summary
Constructors Constructor Description AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties)AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties, MultipleValue multipleValue)AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties, MultipleValue multipleValue, String indexField)AttributeMapping(Expression idExpression, Expression sourceExpression, XPathUtil.StepList targetXPath)Creates a new AttributeMapping object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanencodeIfEmpty()booleanequals(Object o)END specific web service methods******************Map<Name,Expression>getClientProperties()ExpressiongetIdentifierExpression()StringgetIndexField()StringgetInstanceXpath()StringgetLabel()******************************************************************** Label, parentLabel and instancePath are for web service backend only ********************************************************************MultipleValuegetMultipleValue()StringgetParentLabel()ExpressiongetSourceExpression()StringgetSourceIndex()AttributeTypegetTargetNodeInstance()XPathUtil.StepListgetTargetXPath()inthashCode()booleanisList()booleanisMultiValued()booleanisNestedAttribute()This is overridden by NestedAttributeMappingvoidsetEncodeIfEmpty(boolean encodeIfEmpty)voidsetIdentifierExpression(Expression identifierExpression)voidsetIndexField(String indexField)voidsetInstanceXpath(String instancePath)voidsetLabel(String label)voidsetList(boolean isList)voidsetParentLabel(String label)StringtoString()
-
-
-
Field Detail
-
sourceExpression
protected Expression sourceExpression
-
targetXPath
protected XPathUtil.StepList targetXPath
-
-
Constructor Detail
-
AttributeMapping
public AttributeMapping(Expression idExpression, Expression sourceExpression, XPathUtil.StepList targetXPath)
Creates a new AttributeMapping object.
-
AttributeMapping
public AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties)
-
AttributeMapping
public AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties, MultipleValue multipleValue)
-
AttributeMapping
public AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name,Expression> clientProperties, MultipleValue multipleValue, String indexField)
-
-
Method Detail
-
isMultiValued
public boolean isMultiValued()
-
encodeIfEmpty
public boolean encodeIfEmpty()
-
isList
public boolean isList()
-
getSourceExpression
public Expression getSourceExpression()
-
getSourceIndex
public String getSourceIndex()
-
getTargetXPath
public XPathUtil.StepList getTargetXPath()
-
getTargetNodeInstance
public AttributeType getTargetNodeInstance()
-
isNestedAttribute
public boolean isNestedAttribute()
This is overridden by NestedAttributeMapping- Returns:
- always return false
-
getLabel
public String getLabel()
******************************************************************** Label, parentLabel and instancePath are for web service backend only ********************************************************************
-
getParentLabel
public String getParentLabel()
-
getInstanceXpath
public String getInstanceXpath()
-
setLabel
public void setLabel(String label)
-
setParentLabel
public void setParentLabel(String label)
-
setInstanceXpath
public void setInstanceXpath(String instancePath)
-
setEncodeIfEmpty
public void setEncodeIfEmpty(boolean encodeIfEmpty)
-
setList
public void setList(boolean isList)
-
equals
public boolean equals(Object o)
END specific web service methods******************
-
getClientProperties
public Map<Name,Expression> getClientProperties()
-
getIdentifierExpression
public Expression getIdentifierExpression()
-
setIdentifierExpression
public void setIdentifierExpression(Expression identifierExpression)
-
getMultipleValue
public MultipleValue getMultipleValue()
-
getIndexField
public String getIndexField()
-
setIndexField
public void setIndexField(String indexField)
-
-