package edu.stanford.rt.datatype; /** * @author Ninghui Li, Sandra Qiu
* SimpleType is the super class of all data type classes that can have a simple value, it requires its subclasses to check for legal values. */ public abstract class SimpleType extends DataType { protected SimpleType(String name) { super(name); } /** Check if the DataValue o is a legal value for its type. */ abstract public boolean isValidValue(DataValue o); }