@Api(allMethods=true) public class SearchCriterion extends Object implements Serializable
| Constructor and Description |
|---|
SearchCriterion()
Default constructor - does nothing.
|
SearchCriterion(String attributeName,
String operator,
String value)
Constructor that initializes all fields with their values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Get the name of the alpha numerical attribute on which this criterion operates.
|
String |
getOperator()
Return the operator used in the criterion such as '=', '>', ...
|
String |
getValue()
Get the value for this criterion as a formatted string.
|
void |
setAttributeName(String attributeName)
Set the name of the alpha numerical attribute on which this criterion operates.
|
void |
setOperator(String operator)
Set the operator used in the criterion such as '=', '>', ...
|
void |
setValue(String value)
Set the value for this criterion as a formatted string.
|
String |
toString()
Convert to human readable form.
|
public SearchCriterion()
public SearchCriterion(String attributeName, String operator, String value)
attributeName - Set the name of the alpha numerical attribute on which this criterion operates. This attribute name is
one of the attributes from the vector layer configuration.operator - The operator used in the criterion such as '=', '>', ...value - The value for this criterion as a formatted string.public String toString()
public String getOperator()
public void setOperator(String operator)
operator - The criterion operator.public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName - The name of the alpha numerical attribute.public String getValue()
public void setValue(String value)
value - The value for the attribute.Copyright © 2015 Geosparc. All Rights Reserved.