org.tockit.datatype
Interface Value

All Superinterfaces:
Ordered
All Known Implementing Classes:
AbstractValue

public interface Value
extends Ordered

Values for type-based systems. Any Value should be immutable and should have value identity (i.e. override equals(Object) and hashcode() accordingly). The return value of toString should be the same as getDisplayString(). Two values are considered incomparable (i.e. !(a=b), !(ab)) if the their classes do not match.


Field Summary
static Value NULL
           
 
Method Summary
 java.lang.String getDisplayString()
           
 
Methods inherited from interface net.sourceforge.toscanaj.model.order.Ordered
isEqual, isLesserThan
 

Field Detail

NULL

public static final Value NULL
Method Detail

getDisplayString

public java.lang.String getDisplayString()


The ToscanaJ project