org.argouml.cognitive
Class Decision

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

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).


Field Summary
static Decision UNSPEC
          This is another test.
 
Constructor Summary
Decision(String n, int p)
          The constructor.
 
Method Summary
 boolean equals(Object d2)
          Two decisions are considered to be equal if their names are equal.
 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.

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)
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()


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook