|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.elements.Action
story.scheherazade.elements.ValidAction
public class ValidAction
An Action that has been shown to be valid within the context of an actual Narrative. Construct an Action through a Narrative.
Field Summary | |
---|---|
static int |
OVERHEAD_ARGUMENTS
|
Constructor Summary | |
---|---|
ValidAction(Timeline timelineHandler,
NodeAddress timeline,
ActionType actionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
|
Method Summary | |
---|---|
SCHArguments |
getArgsOfRole(SemanticRole role)
Get only those SCHArguments which satisfy a particular SemanticRole. |
StoryAssertion |
getFrameDefinition()
|
GenericScheherID |
getFrameType()
|
PredicateFlavor |
getPredicateFlavor()
|
NodeAddress |
getPrototypeNode()
Get the NodeAddress of the declaration (the prototype node) for the action type. |
SCHArguments |
getSCHArguments()
Get the arguments used to instantiate this Action |
SCHArguments |
getSCHArguments(boolean includeOverheadArguments)
Get the arguments used to instantiate this Action |
TimelineID |
getTimeline()
Get the ID of the Timeline in whose scope this Action was deemed valid. |
ValidAction |
intern()
|
boolean |
isInterned()
|
ValidAction |
makeClone()
|
java.lang.StringBuffer |
render()
|
ValidAction |
unintern()
|
Methods inherited from class story.scheherazade.elements.Action |
---|
equals, getMode, getTruthDegree, getType, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OVERHEAD_ARGUMENTS
Constructor Detail |
---|
public ValidAction(Timeline timelineHandler, NodeAddress timeline, ActionType actionType, SCHArguments arguments, int truthDegree, PredicateMode mode) throws Scheherexception
Scheherexception
Method Detail |
---|
public NodeAddress getPrototypeNode()
getPrototypeNode
in interface ValidPredicate
public SCHArguments getSCHArguments(boolean includeOverheadArguments) throws Scheherexception
getSCHArguments
in interface ValidPredicate
Scheherexception
public SCHArguments getSCHArguments() throws Scheherexception
getSCHArguments
in interface ValidPredicate
getSCHArguments
in class Action
Scheherexception
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
render
in interface ValidPredicate
render
in class Action
Scheherexception
public TimelineID getTimeline() throws Scheherexception
getTimeline
in interface ValidPredicate
Scheherexception
public SCHArguments getArgsOfRole(SemanticRole role) throws Scheherexception
getArgsOfRole
in interface ValidPredicate
Scheherexception
public PredicateFlavor getPredicateFlavor()
getPredicateFlavor
in interface Predicate
getPredicateFlavor
in interface ValidPredicate
getPredicateFlavor
in class Action
public ValidAction intern() throws Scheherexception
intern
in interface InternableObject
intern
in interface ValidPredicate
Scheherexception
public ValidAction unintern() throws Scheherexception
unintern
in interface InternableObject
Scheherexception
public boolean isInterned()
isInterned
in interface InternableObject
public StoryAssertion getFrameDefinition()
getFrameDefinition
in interface ValidPredicate
public GenericScheherID getFrameType()
getFrameType
in interface ValidPredicate
public ValidAction makeClone() throws Scheherexception
makeClone
in interface CloneableObject
makeClone
in class Action
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |