story.scheherazade.elements
Class AssignedCondition
java.lang.Object
story.scheherazade.elements.AssignedPredicate
story.scheherazade.elements.AssignedCondition
- All Implemented Interfaces:
- RenderableObject, InterpElement
public class AssignedCondition
- extends AssignedPredicate
- implements RenderableObject
A Condition that has been assigned to a State or Transition.
Serves as a query result object for AssignedConditionParameters.
Includes the Condition and the State or Transition.
Constructor Summary |
AssignedCondition(ValidCondition condition,
NodeProxy conditionNode,
NodeProxy stateNode,
StateTime assignedState,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint position,
SCHPoint sourcePosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
Constructor to use if the condition is in a State |
AssignedCondition(ValidCondition condition,
NodeProxy conditionNode,
NodeProxy stateNode,
TransitionTimePair persistentRange,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint position,
SCHPoint sourcePosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
Constructor to use for persistent conditions |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignedCondition
public AssignedCondition(ValidCondition condition,
NodeProxy conditionNode,
NodeProxy stateNode,
StateTime assignedState,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint position,
SCHPoint sourcePosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
throws Scheherexception
- Constructor to use if the condition is in a State
- Throws:
Scheherexception
AssignedCondition
public AssignedCondition(ValidCondition condition,
NodeProxy conditionNode,
NodeProxy stateNode,
TransitionTimePair persistentRange,
Conditionality conditionality,
long creationTime,
TextSpan sourceSpan,
SCHPoint position,
SCHPoint sourcePosition,
InterpNodeID interpKey,
java.lang.Boolean noInterpretation)
- Constructor to use for persistent conditions
renderForHumans
public java.lang.StringBuffer renderForHumans()
throws Scheherexception
- Throws:
Scheherexception
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
getCondition
public ValidCondition getCondition()
getTimeline
public TimelineID getTimeline()
throws Scheherexception
- Specified by:
getTimeline
in interface InterpElement
- Specified by:
getTimeline
in class AssignedPredicate
- Throws:
Scheherexception
getConditionNodeProxy
public NodeProxy getConditionNodeProxy()
getState
public StateTime getState()
throws Scheherexception
- Throws:
Scheherexception
getPersistentRange
public TransitionTimePair getPersistentRange()
throws Scheherexception
- Throws:
Scheherexception
isInterp
public boolean isInterp()
- Specified by:
isInterp
in class AssignedPredicate
isProperty
public boolean isProperty()
isPersistent
public boolean isPersistent()
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 AssignedConditionAddress address()
throws Scheherexception
- Throws:
Scheherexception
intern
public AssignedPredicateAddress intern()
throws Scheherexception
- 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
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()
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.