story.dbcore.nodes
Class InstanceNode
java.lang.Object
story.dbcore.nodes.GenericNode
story.dbcore.nodes.InstanceNode
- All Implemented Interfaces:
- RenderableObject
public class InstanceNode
- extends GenericNode
InstanceNode is an extension of GenericNode for instances of other nodes.
Methods inherited from class story.dbcore.nodes.GenericNode |
address, attributeEquals, attributeGreaterThan, attributeModified, directlyLinkedFrom, directlyLinkedFrom, directlyLinksTo, directlyLinksTo, enableAttributeInheritance, getAttributeIDs, getAttributeValue, getDocument, getID, getMaxAttributeLength, getProxy, getRelatedNodes, getRepository, getType, isRelatedTo, numNodesLinkedFrom, numNodesLinksTo, render, renderAttributes, setAttribute, setRepository, unlinkLinkFrom, unlinkLinksFrom, unlinkLinksTo, unlinkLinkTo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceNode
public InstanceNode(Document doc,
NodeRepository parentRepository,
NodeConfig config,
NodeInstancing definition,
LinkRepository linkRepository)
throws Scheherexception
- Throws:
Scheherexception
redefine
public void redefine(NodeInstancing newDefinition)
throws Scheherexception
- Change the definition of this instance node. Validates the new
definition and throws an exception in case of problem.
- Throws:
Scheherexception
renderAllInformation
public java.lang.StringBuffer renderAllInformation()
throws Scheherexception
- Render all the information about this node.
- Overrides:
renderAllInformation
in class GenericNode
- Throws:
Scheherexception
getInstancing
public NodeInstancing getInstancing()
throws Scheherexception
- Get the instancing that defines this node.
- Throws:
Scheherexception
validate
public void validate()
throws Scheherexception
- Run the validation routine on the definition.
This is done automatically on constrution but is
available for revalidation.
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.