|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.String type)
Creates a new Modifier with the specified type but no comparison or value. |
|
Modifier(java.lang.String type,
java.lang.String comparison,
java.lang.String value)
Creates a new Modifier with the specified type, comparison and value. |
Method Summary | |
---|---|
java.lang.String |
getComparison()
Returns the comparison with which the Modifier was created. |
java.lang.String |
getType()
Returns the type with which the Modifier was created. |
java.lang.String |
getValue()
Returns the value with which the Modifier was created. |
java.lang.String |
toCQL()
|
java.lang.String |
toXCQL(int level,
java.lang.String relationElement)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Modifier(java.lang.String type, java.lang.String comparison, java.lang.String value)
public Modifier(java.lang.String type)
Method Detail |
---|
public java.lang.String getType()
public java.lang.String getComparison()
public java.lang.String getValue()
public java.lang.String toXCQL(int level, java.lang.String relationElement)
public java.lang.String toCQL()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |