org.argouml.cognitive
Class Goal

java.lang.Object
  extended byorg.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.
 
Method Summary
 boolean equals(Object d2)
           
 String getName()
           
 int getPriority()
           
static Goal getUnspecifiedGoal()
           
 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
 

Constructor Detail

Goal

public Goal(String n,
            int p)
The constructor.

Parameters:
n - the name (to be localized)
p - the priority
Method Detail

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.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook