org.argouml.cognitive
Class Decision
java.lang.Object
org.argouml.cognitive.Decision
- Direct Known Subclasses:
- UMLDecision
- public class Decision
- extends 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).
UNSPEC
public static final Decision UNSPEC
- This is another test.
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)
- Two decisions are considered to be equal if their names are equal. The
priority is not considered.
- 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()