story.scheherazade.misc
Class InterpNodeID
java.lang.Object
story.dbcore.misc.GenericID
story.scheherazade.misc.InterpNodeID
- All Implemented Interfaces:
- java.lang.Comparable, InternableObject, CloneableObject, RenderableObject, AssignedPredicateAddress
public class InterpNodeID
- extends GenericID
- implements RenderableObject, AssignedPredicateAddress
A "name" (unique ID) for an interp node in Scheherazade. Within a
single session, NodeProxy is used a way to refer to an instantiated
InterpNode from command to command. But for saving to disk and
reconstructing from disk, these names are instead assigned and
invoked to refer to interp nodes.
Constructor Summary |
InterpNodeID(java.lang.String name)
|
InterpNodeID(java.lang.String name,
boolean overrider)
Version of constructor that does not throw an exception, but
rather immediately crashes if there is a problem. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InterpNodeID
public InterpNodeID(java.lang.String name)
throws Scheherexception
- Throws:
Scheherexception
InterpNodeID
public InterpNodeID(java.lang.String name,
boolean overrider)
- Version of constructor that does not throw an exception, but
rather immediately crashes if there is a problem. Useful for
setting InterpNodeID fields in other classes (since you can't have a
try block there)
toString
public java.lang.String toString()
- Specified by:
toString
in class GenericID
render
public java.lang.StringBuffer render()
- Specified by:
render
in interface RenderableObject
- Specified by:
render
in interface AssignedPredicateAddress
isInterned
public boolean isInterned()
- Specified by:
isInterned
in interface InternableObject
unintern
public java.lang.Object unintern()
throws Scheherexception
- Specified by:
unintern
in interface InternableObject
- Throws:
Scheherexception
intern
public java.lang.Object intern()
- Specified by:
intern
in interface InternableObject
makeClone
public java.lang.Object makeClone()
- Specified by:
makeClone
in interface CloneableObject
Copyright © 2011 David K. Elson. All Rights Reserved.