edu.stanford.rt.datatype
Class ValueSet

java.lang.Object
  |
  +--edu.stanford.rt.datatype.ValueSet
Direct Known Subclasses:
IntervalValueSet, SetValueSet, SingletonValueSet, TreeValueSet

public class ValueSet
extends java.lang.Object

Author:
Ninghui Li, Sandra Qiu
A ValueSet object represents a set of values of a certain type.

Field Summary
private  DataType type
          value type
 
Constructor Summary
ValueSet(DataType type)
          Constructor for ValueSet
 
Method Summary
 DataType getType()
          Method getType.
 java.lang.String toString(java.lang.String indent)
          Method toString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private DataType type
value type

Constructor Detail

ValueSet

public ValueSet(DataType type)
Constructor for ValueSet

Method Detail

getType

public DataType getType()
Method getType. returns the value type.

Returns:
DataType

toString

public java.lang.String toString(java.lang.String indent)
Method toString.

Parameters:
indent -
Returns:
String