|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.rt.datatype.DataType | +--edu.stanford.rt.datatype.SimpleType | +--edu.stanford.rt.datatype.OrderedType | +--edu.stanford.rt.datatype.StringType
StringType
elementField Summary | |
private boolean |
ignoreCase
|
private boolean |
ordered
|
Fields inherited from class edu.stanford.rt.datatype.DataType |
|
Constructor Summary | |
StringType(java.lang.String name,
boolean ignoreCase,
boolean ordered)
Constructor for StringType. |
Method Summary | |
int |
compares(DataValue value1,
DataValue value2)
Method compares. |
boolean |
isIgnoreCase()
Method isIgnoreCase. |
boolean |
isOrdered()
Method isOrdered. |
boolean |
isValidValue(DataValue value)
Check if the DataValue o is a legal value for its type. |
java.lang.String |
toString(java.lang.String indent)
Method toString. |
Methods inherited from class edu.stanford.rt.datatype.DataType |
getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean ignoreCase
private boolean ordered
Constructor Detail |
public StringType(java.lang.String name, boolean ignoreCase, boolean ordered)
Method Detail |
public boolean isValidValue(DataValue value)
SimpleType
isValidValue
in class SimpleType
public int compares(DataValue value1, DataValue value2)
OrderedType
compares
in class OrderedType
value1
- value2
-
public boolean isIgnoreCase()
public boolean isOrdered()
public java.lang.String toString(java.lang.String indent)
DataType
toString
in class DataType
indent
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |