| Constructor and Description |
|---|
PropertyCriteria()
This is the default constructor.
|
PropertyCriteria(String name,
String value,
Criteria.Operator operator)
This constructor initialises the fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
encoded()
This method returns an encoded form for the
property criteria.
|
String |
getName() |
Criteria.Operator |
getOperator() |
String |
getValue() |
void |
setName(String name) |
void |
setOperator(Criteria.Operator operator) |
void |
setValue(String value) |
String |
toString() |
public PropertyCriteria()
public PropertyCriteria(String name, String value, Criteria.Operator operator)
name - The namevalue - The valueoperator - The comparison operatorpublic String getName()
public void setName(String name)
name - the name to setpublic String getValue()
public void setValue(String value)
value - the value to setpublic Criteria.Operator getOperator()
public void setOperator(Criteria.Operator operator)
operator - the operator to setpublic String encoded()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.