uk.ac.ic.doc.automed.wrappers
Class AutoMedString

java.lang.Object
  |
  +--uk.ac.ic.doc.automed.wrappers.AutoMedType
        |
        +--uk.ac.ic.doc.automed.wrappers.AutoMedString

public class AutoMedString
extends AutoMedType

Provides generic representation of string values of abritrary size.

Author:
Peter McBrien (pjm@doc.ic.ac.uk)

Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedType
BOOLEAN, FLOAT, INTEGER, STRING, TIME, TUPLE
 
Constructor Summary
AutoMedString(java.lang.String value)
          Create a new AutoMedString
 
Method Summary
 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 AutoMedString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoMedString

public AutoMedString(java.lang.String value)
Create a new AutoMedString

Method Detail

toString

public java.lang.String toString()
Return a string representation of this AutoMedString.

Specified by:
toString in class AutoMedType

equals

public boolean equals(AutoMedType v)
Description copied from class: AutoMedType
Test two AutoMedTypes for equality, performing conversions as appropriate.

Specified by:
equals in class AutoMedType

getType

public final int getType()
Description copied from class: AutoMedType
Return the Type (INTEGER, TUPLE, ...) of this AutoMedType

Specified by:
getType in class AutoMedType