story.dbcore.grammars
Class VariableID

java.lang.Object
  extended by story.dbcore.grammars.VariableID
Direct Known Subclasses:
VariableID

public class VariableID
extends java.lang.Object

The ID of a variable in the symbol table.


Constructor Summary
VariableID(java.lang.String ID)
          Set the ID.
 
Method Summary
 boolean equals(VariableID other)
          Test the equality of this GenericID with another one.
 java.lang.String toString()
          Render the ID as a String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableID

public VariableID(java.lang.String ID)
           throws Scheherexception
Set the ID.

Parameters:
ID - The desired identifier.
Throws:
Scheherexception - Throws error if the ID is invalid in some way.
Method Detail

toString

public java.lang.String toString()
Render the ID as a String.

Overrides:
toString in class java.lang.Object

equals

public boolean equals(VariableID other)
Test the equality of this GenericID with another one.



Copyright © 2011 David K. Elson. All Rights Reserved.