br.pucrio.inf.les.bdijade.event
Class GoalCommitmentEvent
java.lang.Object
br.pucrio.inf.les.bdijade.event.GoalEvent
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
| Fields inherited from class br.pucrio.inf.les.bdijade.event.GoalEvent |
goal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
intention
protected Intention intention
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.
getIntention
public Intention getIntention()
- Returns:
- the intention
setIntention
public void setIntention(Intention intention)
- Parameters:
intention - the intention to set