org.argouml.cognitive.ui
Class PriorityNode

java.lang.Object
  extended byorg.argouml.cognitive.ui.PriorityNode

public class PriorityNode
extends Object

This class represents a "priority". Which is a classification for critics.


Field Summary
private static String HIGH
           
private static String LOW
           
private static String MEDIUM
           
private  String name
           
private static Vector priorities
           
private  int priority
           
 
Constructor Summary
PriorityNode(String n, int pri)
          The constructor.
 
Method Summary
 String getName()
           
static Vector getPriorities()
           
 int getPriority()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HIGH

private static final String HIGH

MEDIUM

private static final String MEDIUM

LOW

private static final String LOW

priorities

private static Vector priorities

name

private String name

priority

private int priority
Constructor Detail

PriorityNode

public PriorityNode(String n,
                    int pri)
The constructor.

Parameters:
n - the name of this priority
pri - the priority number
Method Detail

getPriorities

public static Vector getPriorities()
Returns:
the list of all the priorities

getName

public String getName()
Returns:
the name

getPriority

public int getPriority()
Returns:
the priority

toString

public String toString()
See Also:
Object.toString()


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook