org.argouml.cognitive
Class Goal
java.lang.Object
org.argouml.cognitive.Goal
- public class Goal
- extends Object
This class models a goal of a designer.
Constructor Summary |
Goal(String n,
int p)
The constructor. |
UNSPEC
private static final Goal UNSPEC
- The unspecified goal.
name
private String name
- The localized name.
priority
private int priority
- The priority.
Goal
public Goal(String n,
int p)
- The constructor.
- Parameters:
n
- the name (to be localized)p
- 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()
getUnspecifiedGoal
public static Goal getUnspecifiedGoal()
- Returns:
- Returns the unspecified goal.