vs.characteragent
Class JustifiableGoalSchema

java.lang.Object
  extended by vs.characteragent.JustifiableGoalSchema

public class JustifiableGoalSchema
extends java.lang.Object

Wrapper for GoalSchema when it is adopted by the Character agent: it gets a planner

Author:
swartjes

Constructor Summary
JustifiableGoalSchema(GoalSchema gs, java.lang.String characterURI, java.lang.String plan)
          Creates a new AdoptedGoalSchema
 
Method Summary
 GoalSchema getGoalSchema()
          Returns the goal schema
 PoPlanner getJustifyingPlanner()
           
 boolean getSuggested()
          Retrieve whether this goal was suggested by plot agent
 void setSuggested(boolean suggested)
          Set whether this goal was suggested by plot agent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JustifiableGoalSchema

public JustifiableGoalSchema(GoalSchema gs,
                             java.lang.String characterURI,
                             java.lang.String plan)
Creates a new AdoptedGoalSchema

Parameters:
gs - the goal schema
Method Detail

getGoalSchema

public GoalSchema getGoalSchema()
Returns the goal schema

Returns:
the goal schema

getJustifyingPlanner

public PoPlanner getJustifyingPlanner()

setSuggested

public void setSuggested(boolean suggested)
Set whether this goal was suggested by plot agent

Parameters:
suggested - whether this was the case

getSuggested

public boolean getSuggested()
Retrieve whether this goal was suggested by plot agent

Returns:
whether this goal was suggested by plot agent