org.argouml.cognitive
Class Decision
java.lang.Object
org.argouml.cognitive.Decision
- public class Decision
- extends Object
This is where the class makes the decision
to to fire critic.
UNSPEC
public static final Decision UNSPEC
- This is another test.
name
private String name
- The localized name.
priority
private int priority
- The priority.
Decision
public Decision(String n,
int p)
- The constructor.
- Parameters:
n
- the (not yet localized) namep
- the priority
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()