fr.umlv.tatoo.cc.parser.grammar
Class TerminalDecl

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.generator.AbstractObjectId
      extended by fr.umlv.tatoo.cc.parser.grammar.TerminalDecl
All Implemented Interfaces:
ObjectId, PriorityOwner, VariableDecl

public class TerminalDecl
extends AbstractObjectId
implements VariableDecl, PriorityOwner


Constructor Summary
TerminalDecl(String id, Priority priority, boolean branching)
           
 
Method Summary
 String getAlias()
           
 Priority getPriority()
          Returns the priority.
 boolean isBranching()
           
 boolean isTerminal()
           
 void setAlias(String alias)
           
 String toString()
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.generator.AbstractObjectId
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.umlv.tatoo.cc.common.generator.ObjectId
getId
 

Constructor Detail

TerminalDecl

public TerminalDecl(String id,
                    Priority priority,
                    boolean branching)
Method Detail

getPriority

public Priority getPriority()
Description copied from interface: PriorityOwner
Returns the priority.

Specified by:
getPriority in interface PriorityOwner
Returns:
the priority of the current object.

isBranching

public boolean isBranching()

isTerminal

public boolean isTerminal()
Specified by:
isTerminal in interface VariableDecl

setAlias

public void setAlias(String alias)

getAlias

public String getAlias()

toString

public String toString()
Overrides:
toString in class AbstractObjectId