|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--uk.ac.ic.doc.automed.wrappers.AutoMedType
|
+--uk.ac.ic.doc.automed.wrappers.AutoMedBoolean
Provides generic representation boolean values.
| Field Summary |
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedType |
BOOLEAN, FLOAT, INTEGER, STRING, TIME, TUPLE |
| Constructor Summary | |
AutoMedBoolean(boolean value)
Create a new AutoMedBoolean |
|
AutoMedBoolean(java.lang.String value)
Create a new AutoMedBoolean from a String value. |
|
| Method Summary | |
boolean |
booleanValue()
Return a boolean representation of this AutoMedBoolean. |
boolean |
equals(AutoMedType v)
Test two AutoMedTypes for equality, performing conversions as appropriate. |
int |
getType()
Return the Type (INTEGER, TUPLE, ...) of this AutoMedType |
java.lang.String |
toString()
Return a string representation of this AutoMedBoolean. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AutoMedBoolean(boolean value)
public AutoMedBoolean(java.lang.String value)
value - the string used to set the boolean value, where any
string beginning with `t' or `T' will result in true as
the boolean value, and any other string will result in false| Method Detail |
public boolean booleanValue()
public java.lang.String toString()
toString in class AutoMedTypepublic boolean equals(AutoMedType v)
AutoMedType
equals in class AutoMedTypepublic final int getType()
AutoMedType
getType in class AutoMedType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||