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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionAttributeMapping(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 SummaryModifier 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- 
AttributeMappingpublic AttributeMapping(Expression idExpression, Expression sourceExpression, XPathUtil.StepList targetXPath) Creates a new AttributeMapping object.
- 
AttributeMappingpublic AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name, Expression> clientProperties) 
- 
AttributeMappingpublic AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name, Expression> clientProperties, MultipleValue multipleValue) 
- 
AttributeMappingpublic AttributeMapping(Expression idExpression, Expression sourceExpression, String sourceIndex, XPathUtil.StepList targetXPath, AttributeType targetNodeInstance, boolean isMultiValued, Map<Name, Expression> clientProperties, MultipleValue multipleValue, String indexField) 
 
- 
- 
Method Details- 
isMultiValuedpublic boolean isMultiValued()
- 
encodeIfEmptypublic boolean encodeIfEmpty()
- 
isListpublic boolean isList()
- 
getSourceExpression
- 
getSourceIndex
- 
getTargetXPath
- 
getTargetNodeInstance
- 
isNestedAttributepublic 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
- 
setEncodeIfEmptypublic void setEncodeIfEmpty(boolean encodeIfEmpty) 
- 
setListpublic void setList(boolean isList) 
- 
equalsEND specific web service methods******************
- 
hashCodepublic int hashCode()
- 
toString
- 
getClientProperties
- 
getIdentifierExpression
- 
setIdentifierExpression
- 
getMultipleValue
- 
getIndexField
- 
setIndexField
 
-