|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedType
public abstract class AutoMedType
Provides a base for the representation of basic types supported by AutoMed.
| Field Summary | |
|---|---|
static int |
BOOLEAN
Type to represent a boolean true/false value. |
static int |
FLOAT
Type to represent a floating point atomic type |
static int |
INTEGER
Type to represent a twos-complement integer atomic type |
static java.lang.String |
NULL_STR
String to use to represent null values |
static int |
STRING
Type to represent an arbitrary length string in the unicode character set. |
static int |
TIME
Type to represent a time (on a particular day) |
static int |
TUPLE
Type to represent a tuple of atomic types |
| Constructor Summary | |
|---|---|
AutoMedType()
|
|
| Method Summary | |
|---|---|
abstract double |
doubleValue()
Return the double representation of this AutoMedType. |
abstract boolean |
equals(AutoMedType v)
Test two AutoMedTypes for equality, performing conversions as appropriate. |
abstract int |
getType()
Return the Type (INTEGER, TUPLE, ...) of this AutoMedType |
boolean |
isLiteral()
Check if this is a literal type |
boolean |
isNull()
Is this type a null value? |
boolean |
isNumeric()
Check if this is a numeric type |
abstract java.lang.String |
toString()
Return a string representation of this AutoMedType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NULL_STR
public static final int INTEGER
public static final int TUPLE
public static final int FLOAT
public static final int TIME
public static final int STRING
public static final int BOOLEAN
| Constructor Detail |
|---|
public AutoMedType()
| Method Detail |
|---|
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic abstract double doubleValue()
public abstract int getType()
public abstract boolean equals(AutoMedType v)
public boolean isNull()
public boolean isNumeric()
public boolean isLiteral()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||