story.scheherazade.elements
Class AssignedActionAddress
java.lang.Object
story.scheherazade.elements.AssignedActionAddress
- All Implemented Interfaces:
- InternableObject, CloneableObject, RenderableObject, AssignedPredicateAddress
public class AssignedActionAddress
- extends java.lang.Object
- implements RenderableObject, AssignedPredicateAddress, InternableObject, CloneableObject
An address of an AssignedAction in a Narrative. Analogous to the
difference between Conditions and ValidConditions,
AssignedActionAddresses are simply pointers, where
AssignedActions can only be constructed by the Narrative and
assert that such a Action is actually assigned at that address.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignedActionAddress
public AssignedActionAddress(Action action,
TransitionTime assignedTransition)
render
public java.lang.StringBuffer render()
throws Scheherexception
- Specified by:
render
in interface RenderableObject
- Specified by:
render
in interface AssignedPredicateAddress
- Throws:
Scheherexception
getAction
public Action getAction()
getTransition
public TransitionTime getTransition()
throws Scheherexception
- Throws:
Scheherexception
intern
public AssignedActionAddress intern()
throws Scheherexception
- Specified by:
intern
in interface InternableObject
- Throws:
Scheherexception
unintern
public AssignedActionAddress unintern()
throws Scheherexception
- Specified by:
unintern
in interface InternableObject
- Throws:
Scheherexception
isInterned
public boolean isInterned()
- Specified by:
isInterned
in interface InternableObject
makeClone
public AssignedActionAddress makeClone()
throws Scheherexception
- Specified by:
makeClone
in interface CloneableObject
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.