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

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

public class GoalCommitmentEvent
extends GoalEvent

Author:
ingrid
See Also:
Serialized Form

Field Summary
protected  Intention intention
           
private static long serialVersionUID
           
 
Fields inherited from class br.pucrio.inf.les.bdijade.event.GoalEvent
goal
 
Constructor Summary
GoalCommitmentEvent()
          Default constructor.
GoalCommitmentEvent(Goal goal, Intention intention)
          Creates a new goal event with a goal and its intention.
 
Method Summary
 Intention getIntention()
           
 void setIntention(Intention intention)
           
 
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

intention

protected Intention intention
Constructor Detail

GoalCommitmentEvent

public GoalCommitmentEvent()
Default constructor.


GoalCommitmentEvent

public GoalCommitmentEvent(Goal goal,
                           Intention intention)
Creates a new goal event with a goal and its intention.

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

getIntention

public Intention getIntention()
Returns:
the intention

setIntention

public void setIntention(Intention intention)
Parameters:
intention - the intention to set