public class ServiceManagerQueryField
extends java.lang.Object
Constructor and Description |
---|
ServiceManagerQueryField()
Create a new query field
|
ServiceManagerQueryField(java.lang.String name,
ServiceManagerQueryOperator operator,
java.lang.String value)
Create a new query field with the specified field name, operator and field value
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the field name for this field
|
ServiceManagerQueryOperator |
getOperator()
Get the operator for this query
|
java.lang.String |
getQuery()
Construct a query for this field
|
java.lang.String |
getValue()
Set the value to match for the query
|
void |
setName(java.lang.String name)
Set the field name for this field
|
void |
setOperator(ServiceManagerQueryOperator operator)
Set the operator for this query
|
void |
setValue(java.lang.String value)
Get the value to match for the query
|
public ServiceManagerQueryField()
public ServiceManagerQueryField(java.lang.String name, ServiceManagerQueryOperator operator, java.lang.String value)
name
- The name of the field to queryoperator
- The operator to be used for the queryvalue
- The value of the field to matchpublic java.lang.String getQuery()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The field namepublic ServiceManagerQueryOperator getOperator()
public void setOperator(ServiceManagerQueryOperator operator)
operator
- The operator for the querypublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value to match