story.scheherazade.elements
Class AssignedModifier

java.lang.Object
  extended by story.scheherazade.elements.AssignedPredicate
      extended by story.scheherazade.elements.AssignedModifier
All Implemented Interfaces:
InternableObject, RenderableObject, InterpElement

public class AssignedModifier
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
AssignedModifier(ValidModifier modifier, AssignedPredicate modified, ModifierScope scope, NodeProxy modifierNode, Conditionality conditionality, long creationTime, TextSpan sourceSpan, SCHPoint position, SCHPoint sourcePosition, java.lang.Boolean noInterpretation)
           
 
Method Summary
 AssignedModifierAddress address()
           
 SCHPoint getCanvasPosition()
           
 Conditionality getConditionality()
           
 long getCreationTime()
           
 GenericScheherID getFrameType()
           
 InterpNodeID getInterpKey()
           
 InterpretativeNodeType getInterpretativeNodeType()
           
 AssignedPredicate getModified()
           
 ValidModifier getModifier()
           
 boolean getNoInterpretation()
           
 PredicateFlavor getPredicateFlavor()
           
 NodeProxy getPredicateNodeProxy()
           
 ModifierScope getScope()
           
 SCHPoint getSourceCanvasPosition()
           
 TextSpan getSourceSpan()
           
 TimelineID getTimeline()
           
 TimelineTime getTimeOfModified()
          Gets the time range of the modified predicate, possibly unbounded.
 ValidPredicate getValidPredicate()
           
 AssignedModifierAddress intern()
           
 boolean isCoreGoal()
           
 boolean isInterned()
           
 boolean isInterp()
           
 java.lang.StringBuffer render()
           
 AssignedModifier unintern()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignedModifier

public AssignedModifier(ValidModifier modifier,
                        AssignedPredicate modified,
                        ModifierScope scope,
                        NodeProxy modifierNode,
                        Conditionality conditionality,
                        long creationTime,
                        TextSpan sourceSpan,
                        SCHPoint position,
                        SCHPoint sourcePosition,
                        java.lang.Boolean noInterpretation)
Method Detail

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

getScope

public ModifierScope getScope()

getTimeline

public TimelineID getTimeline()
                       throws Scheherexception
Specified by:
getTimeline in interface InterpElement
Specified by:
getTimeline in class AssignedPredicate
Throws:
Scheherexception

getModifier

public ValidModifier getModifier()

getModified

public AssignedPredicate getModified()

getConditionality

public Conditionality getConditionality()
Specified by:
getConditionality in class AssignedPredicate

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in class AssignedPredicate

getPredicateFlavor

public PredicateFlavor getPredicateFlavor()
Specified by:
getPredicateFlavor in class AssignedPredicate

address

public AssignedModifierAddress address()
                                throws Scheherexception
Throws:
Scheherexception

intern

public AssignedModifierAddress intern()
                               throws Scheherexception
Specified by:
intern in interface InternableObject
Specified by:
intern in class AssignedPredicate
Throws:
Scheherexception

unintern

public AssignedModifier unintern()
Specified by:
unintern in interface InternableObject

getValidPredicate

public ValidPredicate getValidPredicate()
Specified by:
getValidPredicate in class AssignedPredicate

getFrameType

public GenericScheherID getFrameType()

getSourceSpan

public TextSpan getSourceSpan()
Specified by:
getSourceSpan in class AssignedPredicate

getPredicateNodeProxy

public NodeProxy getPredicateNodeProxy()
Specified by:
getPredicateNodeProxy in interface InterpElement
Specified by:
getPredicateNodeProxy 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

getInterpKey

public InterpNodeID getInterpKey()
Specified by:
getInterpKey in interface InterpElement
Specified by:
getInterpKey in class AssignedPredicate

isInterned

public boolean isInterned()
Specified by:
isInterned in interface InternableObject

getTimeOfModified

public TimelineTime getTimeOfModified()
                               throws Scheherexception
Gets the time range of the modified predicate, possibly unbounded. If it is a persistent condition, returns a transition bounding both transitions in the pair.

Throws:
Scheherexception

isCoreGoal

public boolean isCoreGoal()
Specified by:
isCoreGoal in interface InterpElement

getInterpretativeNodeType

public InterpretativeNodeType getInterpretativeNodeType()
                                                 throws Scheherexception
Specified by:
getInterpretativeNodeType in interface InterpElement
Throws:
Scheherexception

isInterp

public boolean isInterp()
Specified by:
isInterp in class AssignedPredicate

getNoInterpretation

public boolean getNoInterpretation()
Specified by:
getNoInterpretation in class AssignedPredicate


Copyright © 2011 David K. Elson. All Rights Reserved.