|
|||||||||||
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.TimeType
Field Summary |
Fields inherited from class edu.stanford.rt.datatype.DataType |
|
Constructor Summary | |
TimeType(java.lang.String name)
Constructor for TimeType. |
Method Summary | |
int |
compares(DataValue value1,
DataValue value2)
Method compares. |
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 |
Constructor Detail |
public TimeType(java.lang.String name)
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 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 |