br.pucrio.inf.les.bdijade.event
Class GoalFinishedEvent

java.lang.Object
  extended by br.pucrio.inf.les.bdijade.event.GoalEvent
      extended by br.pucrio.inf.les.bdijade.event.GoalFinishedEvent
All Implemented Interfaces:
jade.content.AgentAction, jade.content.Concept, jade.content.ContentElement, jade.content.Term, java.io.Serializable

public class GoalFinishedEvent
extends GoalEvent

Author:
ingrid
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
protected  GoalStatus status
           
 
Fields inherited from class br.pucrio.inf.les.bdijade.event.GoalEvent
goal
 
Constructor Summary
GoalFinishedEvent()
          Default constructor.
GoalFinishedEvent(Goal goal, GoalStatus status)
          Creates a new goal event with a goal and its status.
 
Method Summary
 GoalStatus getStatus()
           
 void setStatus(GoalStatus status)
           
 
Methods inherited from class br.pucrio.inf.les.bdijade.event.GoalEvent
getGoal, setGoal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

status

protected GoalStatus status
Constructor Detail

GoalFinishedEvent

public GoalFinishedEvent()
Default constructor.


GoalFinishedEvent

public GoalFinishedEvent(Goal goal,
                         GoalStatus status)
Creates a new goal event with a goal and its status.

Parameters:
goal - the goal of this event.
status - the status of the goal.
Method Detail

getStatus

public GoalStatus getStatus()
Returns:
the status

setStatus

public void setStatus(GoalStatus status)
Parameters:
status - the status to set