org.argouml.cognitive
Class Decision

java.lang.Object
  extended byorg.argouml.cognitive.Decision

public class Decision
extends Object

This is where the class makes the decision to to fire critic.


Field Summary
private  String name
          The localized name.
private  int priority
          The priority.
static Decision UNSPEC
          This is another test.
 
Constructor Summary
Decision(String n, int p)
          The constructor.
 
Method Summary
 boolean equals(Object d2)
           
 String getName()
           
 int getPriority()
           
 int hashCode()
           
 void setName(String n)
           
 void setPriority(int p)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSPEC

public static final Decision UNSPEC
This is another test.


name

private String name
The localized name.


priority

private int priority
The priority.

Constructor Detail

Decision

public Decision(String n,
                int p)
The constructor.

Parameters:
n - the (not yet localized) name
p - the priority
Method Detail

hashCode

public int hashCode()
See Also:
Object.hashCode()

equals

public boolean equals(Object d2)
See Also:
Object.equals(java.lang.Object)

getName

public String getName()
Returns:
the localized name

setName

public void setName(String n)
Parameters:
n - the localized name

getPriority

public int getPriority()
Returns:
the priority

setPriority

public void setPriority(int p)
Parameters:
p - the priority

toString

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


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