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

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

public class GoalEvent
extends java.lang.Object
implements jade.content.AgentAction

This class represents an event performed over a goal.

Author:
ingrid
See Also:
Serialized Form

Field Summary
protected  Goal goal
           
private static long serialVersionUID
           
 
Constructor Summary
GoalEvent()
          Default constructor.
GoalEvent(Goal goal)
          Creates a new goal event with a goal.
 
Method Summary
 Goal getGoal()
           
 void setGoal(Goal goal)
           
 
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

goal

protected Goal goal
Constructor Detail

GoalEvent

public GoalEvent()
Default constructor.


GoalEvent

public GoalEvent(Goal goal)
Creates a new goal event with a goal.

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

getGoal

public Goal getGoal()
Returns:
the goal

setGoal

public void setGoal(Goal goal)
Parameters:
goal - the goal to set