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 Expression
sourceExpression
protected XPathUtil.StepList
targetXPath
-
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 boolean
encodeIfEmpty()
boolean
equals(Object o)
END specific web service methods******************Map<Name,Expression>
getClientProperties()
Expression
getIdentifierExpression()
String
getIndexField()
String
getInstanceXpath()
String
getLabel()
******************************************************************** Label, parentLabel and instancePath are for web service backend only ********************************************************************MultipleValue
getMultipleValue()
String
getParentLabel()
Expression
getSourceExpression()
String
getSourceIndex()
AttributeType
getTargetNodeInstance()
XPathUtil.StepList
getTargetXPath()
int
hashCode()
boolean
isList()
boolean
isMultiValued()
boolean
isNestedAttribute()
This is overridden by NestedAttributeMappingvoid
setEncodeIfEmpty(boolean encodeIfEmpty)
void
setIdentifierExpression(Expression identifierExpression)
void
setIndexField(String indexField)
void
setInstanceXpath(String instancePath)
void
setLabel(String label)
void
setList(boolean isList)
void
setParentLabel(String label)
String
toString()
-
-
-
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)
-
-