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

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

public class Priority
extends AbstractObjectId

Author:
Remi Forax

Nested Class Summary
static class Priority.Associativity
           
 
Constructor Summary
Priority(String id, double priorityValue, Priority.Associativity associativity)
           
 
Method Summary
 int compareTo(Priority priority)
           
 Priority.Associativity getAssociativity()
           
static Priority getNoPriority()
           
static Priority.Associativity parseAssociativity(String associativity)
           
 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
 

Constructor Detail

Priority

public Priority(String id,
                double priorityValue,
                Priority.Associativity associativity)
Method Detail

getAssociativity

public Priority.Associativity getAssociativity()

compareTo

public int compareTo(Priority priority)

toString

public String toString()
Overrides:
toString in class AbstractObjectId

parseAssociativity

public static Priority.Associativity parseAssociativity(String associativity)
Throws:
IllegalArgumentException

getNoPriority

public static Priority getNoPriority()