com.irs.jam
Class Symbol

java.lang.Object
  |
  +--com.irs.jam.TableObject
        |
        +--com.irs.jam.Symbol
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WorldModelRelation

public class Symbol
extends TableObject
implements java.io.Serializable

Represents a symbolic concept within a plan

See Also:
Serialized Form

Fields inherited from class com.irs.jam.TableObject
_id, _name
 
Constructor Summary
Symbol(java.lang.String name)
          Constructor with symbol label
Symbol(java.lang.String name, int id)
          Constructor based on a label and identifier
Symbol(Symbol s)
          Copy constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Check whether specified object matches this object
 int hashCode()
          Return this object's hash ID.
 void print(java.io.PrintStream s)
          Output information in a non inline manner
 
Methods inherited from class com.irs.jam.TableObject
getID, getName, setID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Symbol

public Symbol(java.lang.String name,
              int id)
Constructor based on a label and identifier

Symbol

public Symbol(java.lang.String name)
Constructor with symbol label

Symbol

public Symbol(Symbol s)
Copy constructor
Method Detail

print

public void print(java.io.PrintStream s)
Output information in a non inline manner
Overrides:
print in class TableObject

hashCode

public int hashCode()
Return this object's hash ID.
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Check whether specified object matches this object
Overrides:
equals in class java.lang.Object