story.scheherazade.elements
Class AssignedAction
java.lang.Object
story.scheherazade.elements.AssignedPredicate
story.scheherazade.elements.AssignedAction
- All Implemented Interfaces:
- InternableObject, RenderableObject, InterpElement
public class AssignedAction
- extends AssignedPredicate
- implements RenderableObject, InternableObject
Pointers to Action which has been assigned to a Transition. Serves
as a query result object for AssignedActionParameters. Includes
the Action and some metadata about its assignment in the narrative.
|
Constructor Summary |
AssignedAction(ValidAction action,
NodeProxy actionNode,
NodeProxy transitionNode,
TransitionTime time,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint canvasPosition,
SCHPoint sourceCanvasPosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignedAction
public AssignedAction(ValidAction action,
NodeProxy actionNode,
NodeProxy transitionNode,
TransitionTime time,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint canvasPosition,
SCHPoint sourceCanvasPosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
render
public java.lang.StringBuffer render()
throws Scheherexception
- Specified by:
render in interface RenderableObject- Specified by:
render in interface InterpElement- Specified by:
render in class AssignedPredicate
- Throws:
Scheherexception
getTimeline
public TimelineID getTimeline()
throws Scheherexception
- Specified by:
getTimeline in interface InterpElement- Specified by:
getTimeline in class AssignedPredicate
- Throws:
Scheherexception
getActionNode
public NodeAddress getActionNode()
throws Scheherexception
- Throws:
Scheherexception
getActionNodeProxy
public NodeProxy getActionNodeProxy()
throws Scheherexception
- Throws:
Scheherexception
getPredicateNodeProxy
public NodeProxy getPredicateNodeProxy()
throws Scheherexception
- Specified by:
getPredicateNodeProxy in interface InterpElement- Specified by:
getPredicateNodeProxy in class AssignedPredicate
- Throws:
Scheherexception
isInterp
public boolean isInterp()
- Specified by:
isInterp in class AssignedPredicate
getInterpKey
public InterpNodeID getInterpKey()
- Specified by:
getInterpKey in interface InterpElement- Specified by:
getInterpKey in class AssignedPredicate
address
public AssignedActionAddress address()
getTime
public TransitionTime getTime()
getConditionality
public Conditionality getConditionality()
- Specified by:
getConditionality in class AssignedPredicate
getAction
public ValidAction getAction()
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime in class AssignedPredicate
getPredicateFlavor
public PredicateFlavor getPredicateFlavor()
- Specified by:
getPredicateFlavor in class AssignedPredicate
intern
public AssignedPredicateAddress intern()
throws Scheherexception
- Specified by:
intern in interface InternableObject- Specified by:
intern in class AssignedPredicate
- Throws:
Scheherexception
getValidPredicate
public ValidPredicate getValidPredicate()
- Specified by:
getValidPredicate in class AssignedPredicate
getFrameType
public GenericScheherID getFrameType()
getSourceSpan
public TextSpan getSourceSpan()
- Specified by:
getSourceSpan in class AssignedPredicate
getCanvasPosition
public SCHPoint getCanvasPosition()
- Specified by:
getCanvasPosition in interface InterpElement- Specified by:
getCanvasPosition in class AssignedPredicate
getSourceCanvasPosition
public SCHPoint getSourceCanvasPosition()
- Specified by:
getSourceCanvasPosition in interface InterpElement- Specified by:
getSourceCanvasPosition in class AssignedPredicate
unintern
public AssignedAction unintern()
- Specified by:
unintern in interface InternableObject
isInterned
public boolean isInterned()
- Specified by:
isInterned in interface InternableObject
isCoreGoal
public boolean isCoreGoal()
- Specified by:
isCoreGoal in interface InterpElement
getInterpretativeNodeType
public InterpretativeNodeType getInterpretativeNodeType()
throws Scheherexception
- Specified by:
getInterpretativeNodeType in interface InterpElement
- Throws:
Scheherexception
getNoInterpretation
public boolean getNoInterpretation()
throws Scheherexception
- Specified by:
getNoInterpretation in class AssignedPredicate
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.