source:
fedd/abac-src/rtml/src/edu/stanford/rt/datatype/SimpleType.java
@
8780cbec
Last change on this file since 8780cbec was 8780cbec, checked in by , 15 years ago | |
---|---|
|
|
File size: 504 bytes |
Line | |
---|---|
1 | package edu.stanford.rt.datatype; |
2 | |
3 | /** |
4 | * @author Ninghui Li, Sandra Qiu <br> |
5 | * |
6 | SimpleType is the super class of all data type classes that can have |
7 | a simple value, it requires its subclasses to check for legal values. |
8 | */ |
9 | public abstract class SimpleType extends DataType |
10 | { |
11 | protected SimpleType(String name) |
12 | { |
13 | super(name); |
14 | } |
15 | |
16 | /** Check if the DataValue o is a legal value for its type. */ |
17 | abstract public boolean isValidValue(DataValue o); |
18 | } |
Note: See TracBrowser
for help on using the repository browser.