public final class JdbcMultipleValue extends AttributeExpressionImpl implements MultipleValue
attPath, lenient, namespaceSupport, schema
NIL
Constructor and Description |
---|
JdbcMultipleValue() |
Modifier and Type | Method and Description |
---|---|
Object |
accept(ExpressionVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance.
|
boolean |
equals(Object o)
Compares this filter to the specified object.
|
Object |
evaluate(Object object)
Gets the value of this property from the passed object.
|
<T> T |
evaluate(Object object,
Class<T> context)
Gets the value of this attribute from the passed object.
|
AttributeMapping |
getAttributeMapping() |
FeatureTypeMapping |
getFeatureTypeMapping() |
String |
getId()
Returns the ID of the multivalued mapping.
|
String[] |
getProperties() |
String |
getSourceColumn() |
String |
getTargetColumn() |
String |
getTargetTable() |
Expression |
getTargetValue() |
List<Object> |
getValues(Feature features,
AttributeMapping attributeMapping)
Returns the values extracted from the provided feature using this multivalued mapping.
|
int |
hashCode()
Override of hashCode method.
|
void |
setAttributeMapping(AttributeMapping attributeMapping)
Sets the attribute type mapping that contains this multi valued mapping.
|
void |
setFeatureTypeMapping(FeatureTypeMapping featureTypeMapping)
Sets the feature type mapping that contains this multi valued mapping.
|
void |
setSourceColumn(String sourceColumn) |
void |
setTargetColumn(String targetColumn) |
void |
setTargetTable(String targetTable) |
void |
setTargetValue(String targetValue) |
String |
toString()
Return this expression as a string.
|
getNamespaceContext, getPropertyName, isLenient, setLenient, setPropertyName
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
public String getSourceColumn()
public void setSourceColumn(String sourceColumn)
public String getTargetTable()
public void setTargetTable(String targetTable)
public String getTargetColumn()
public void setTargetColumn(String targetColumn)
public Expression getTargetValue()
public void setTargetValue(String targetValue)
public FeatureTypeMapping getFeatureTypeMapping()
public void setFeatureTypeMapping(FeatureTypeMapping featureTypeMapping)
MultipleValue
setFeatureTypeMapping
in interface MultipleValue
public AttributeMapping getAttributeMapping()
public void setAttributeMapping(AttributeMapping attributeMapping)
MultipleValue
setAttributeMapping
in interface MultipleValue
public String[] getProperties()
public List<Object> getValues(Feature features, AttributeMapping attributeMapping)
MultipleValue
getValues
in interface MultipleValue
public Object evaluate(Object object)
AttributeExpressionImpl
evaluate
in interface Expression
evaluate
in class AttributeExpressionImpl
object
- Object from which we need to extract a property value.public <T> T evaluate(Object object, Class<T> context)
AttributeExpressionImpl
evaluate
in interface Expression
evaluate
in class AttributeExpressionImpl
T
- The type of the returned object.object
- Object from which to extract attribute value.context
- Target Classcontext
.public Object accept(ExpressionVisitor visitor, Object extraData)
AttributeExpressionImpl
accept
in interface Expression
accept
in class AttributeExpressionImpl
visitor
- The visitor which requires access to this filter, the method must call
visitor.visit(this);public String getId()
MultipleValue
getId
in interface MultipleValue
public boolean equals(Object o)
AttributeExpressionImpl
equals
in class AttributeExpressionImpl
o
- - the object to compare this ExpressionAttribute against.public int hashCode()
AttributeExpressionImpl
hashCode
in class AttributeExpressionImpl
public String toString()
AttributeExpressionImpl
toString
in class AttributeExpressionImpl
Copyright © 1996–2019 Geotools. All rights reserved.