|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.z3950.zing.cql.Modifier
public class Modifier
Represents a single modifier, consisting of three elements: a type, a comparision and a value. For example, "distance", "<", "3". The type is mandatory; either the comparison and value must both occur, or neither must.
This class is used only by ModifierSet.
| Constructor Summary | |
|---|---|
Modifier(String type)
Creates a new Modifier with the specified type but no comparison or value. |
|
Modifier(String type,
String comparison,
String value)
Creates a new Modifier with the specified type, comparison and value. |
|
| Method Summary | |
|---|---|
String |
getComparison()
Returns the comparison with which the Modifier was created. |
String |
getType()
Returns the type with which the Modifier was created. |
String |
getValue()
Returns the value with which the Modifier was created. |
String |
toCQL()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Modifier(String type,
String comparison,
String value)
public Modifier(String type)
| Method Detail |
|---|
public String getType()
public String getComparison()
public String getValue()
public String toCQL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||