Package org.geotools.data.complex
Class AttributeMapping
Object
AttributeMapping
- Direct Known Subclasses:
NestedAttributeMapping
- Since:
- 2.4
- Author:
- Gabriel Roldan (Axios Engineering), Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttributeMapping(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
Modifier and TypeMethodDescriptionbooleanbooleanEND specific web service methods******************getLabel()******************************************************************** Label, parentLabel and instancePath are for web service backend only ********************************************************************inthashCode()booleanisList()booleanbooleanThis is overridden by NestedAttributeMappingvoidsetEncodeIfEmpty(boolean encodeIfEmpty) voidsetIdentifierExpression(Expression identifierExpression) voidsetIndexField(String indexField) voidsetInstanceXpath(String instancePath) voidvoidsetList(boolean isList) voidsetParentLabel(String label) toString()
-
Field Details
-
sourceExpression
-
targetXPath
-
-
Constructor Details
-
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 Details
-
isMultiValued
public boolean isMultiValued() -
encodeIfEmpty
public boolean encodeIfEmpty() -
isList
public boolean isList() -
getSourceExpression
-
getSourceIndex
-
getTargetXPath
-
getTargetNodeInstance
-
isNestedAttribute
public boolean isNestedAttribute()This is overridden by NestedAttributeMapping- Returns:
- always return false
-
getLabel
******************************************************************** Label, parentLabel and instancePath are for web service backend only ******************************************************************** -
getParentLabel
-
getInstanceXpath
-
setLabel
-
setParentLabel
-
setInstanceXpath
-
setEncodeIfEmpty
public void setEncodeIfEmpty(boolean encodeIfEmpty) -
setList
public void setList(boolean isList) -
equals
END specific web service methods****************** -
hashCode
public int hashCode() -
toString
-
getClientProperties
-
getIdentifierExpression
-
setIdentifierExpression
-
getMultipleValue
-
getIndexField
-
setIndexField
-