com.veromodo.tempo.sem.type
Class EnumValue

java.lang.Object
  extended by com.veromodo.tempo.sem.type.EnumValue

public class EnumValue
extends java.lang.Object

A value for an enumerated data type

Author:
Carleton

Constructor Summary
EnumValue(java.lang.String lex, TypeEnumValue ty)
           
 
Method Summary
 TypeEnumValue getType()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumValue

public EnumValue(java.lang.String lex,
                 TypeEnumValue ty)
Method Detail

getValue

public java.lang.String getValue()
Returns:
the lexical name of the value

getType

public TypeEnumValue getType()
Returns:
the type associated this value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object