org.argouml.cognitive
Class Decision
java.lang.Object
org.argouml.cognitive.Decision
public class Decision
- extends java.lang.Object
Posters look at the design material from different view points, since they
have to make different decisions in their evaluation process. A decision is a
unit which describes what kind of decision a given poster supports. E.g. a
designer is interested in making particular decisions, whereas a critic can
support relevant information which help making a particular decision (aka a
decision which lies in the domain specified by this class).
|
Constructor Summary |
Decision(java.lang.String n,
int p)
The constructor. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UNSPEC
public static final Decision UNSPEC
- This is another test.
Decision
public Decision(java.lang.String n,
int p)
- The constructor.
- Parameters:
n - the (not yet localized) namep - the priority
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object d2)
- Two decisions are considered to be equal if their names are equal. The
priority is not considered.
- Overrides:
equals in class java.lang.Object
getName
public java.lang.String getName()
- Returns:
- the localized name
setName
public void setName(java.lang.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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object