|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.parameters.SCHParameter
story.scheherazade.parameters.StoryQueryParameter
story.scheherazade.parameters.BooleanReturnQueryParameter
story.scheherazade.parameters.ConditionInEffectParameter
public class ConditionInEffectParameter
An SCHParameter which makes sure that a previously matched AssignedCondition takes effect at a particular state or transition.
Constructor Summary | |
---|---|
ConditionInEffectParameter(VariableID condition,
StateTime targetTime,
int scope,
boolean inferProperties)
Constructor for ensuring that a condition is in effect at a state. |
|
ConditionInEffectParameter(VariableID condition,
TransitionTime targetTransition)
Constructor for ensuring that a condition is in progress during a transition. |
Method Summary | |
---|---|
SCHParameter |
makeCopy()
Make a copy of the Parameter at the level of the concretizing class |
SCHReferenceReqSet |
referenceRequirements()
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation. |
java.lang.StringBuffer |
specificRender()
Each concretizing class needs to provide a render function. |
Methods inherited from class story.scheherazade.parameters.SCHParameter |
---|
makeClone, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionInEffectParameter(VariableID condition, StateTime targetTime, int scope, boolean inferProperties) throws Scheherexception
condition
- The VariableID of the Condition previously matched by AssignedConditionParameter.targetTime
- The time slice when the condition may or may not apply.scope
- Set -1 to only match Conditions that are
explicitly attached to a State node with the given target
StateTime. Set 1 to only match Conditions that are "inferred"
to apply, e.g., persistent ones that began at a previous time
with a conditionBegins action. Set 0 to match either.inferProperties
- Set true to include the "property"
conditions that apply to the entire timeline.
Scheherexception
public ConditionInEffectParameter(VariableID condition, TransitionTime targetTransition) throws Scheherexception
condition
- The VariableID of the Condition previously matched by AssignedConditionParameter.targetTransition
- The time slice when the condition may or may not apply.
Scheherexception
Method Detail |
---|
public SCHReferenceReqSet referenceRequirements()
SCHParameter
referenceRequirements
in class SCHParameter
public java.lang.StringBuffer specificRender() throws Scheherexception
SCHParameter
specificRender
in class SCHParameter
Scheherexception
public SCHParameter makeCopy()
SCHParameter
makeCopy
in class SCHParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |