|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.dbcore.parameters.Parameter
story.dbcore.parameters.MatchingParameter
story.dbcore.parameters.NodeParameter
public class NodeParameter
A Node parameter indicating that a particular node is required.
Constructor Summary | |
---|---|
NodeParameter()
Constructor with no argument; just requires a node. |
|
NodeParameter(NodeAddress nodePrototype)
Constructor with a NodeAddress for a prototype node |
|
NodeParameter(NodeAddress nodePrototype,
boolean exactNodeOnly)
Constructor with a NodeAddress for a prototype node. |
|
NodeParameter(NodeAddress nodePrototype,
NodeRepositoryID nodeRepository)
Constructor with a NodeAddress for a prototype node and a NodeRepository requirement. |
|
NodeParameter(NodeAddress nodePrototype,
NodeRepositoryID nodeRepository,
VariableID reference)
Constructor with a NodeAddress for a prototype node, a NodeRepository requirement and an outgoing reference ID. |
|
NodeParameter(NodeAddress nodePrototype,
VariableID reference)
Constructor with a NodeAddress for a prototype node and an outgoing reference ID. |
|
NodeParameter(NodeAddress nodePrototype,
VariableID reference,
boolean exactNodeOnly)
Constructor with a NodeAddress for a prototype node and an outgoing reference ID. |
|
NodeParameter(NodeRepositoryID nodeRepository)
Constructor with only a NodeRepository requirement. |
|
NodeParameter(NodeRepositoryID nodeRepository,
VariableID reference)
Constructor with a NodeRepository requirement and an outgoing reference ID. |
|
NodeParameter(NodeType nodeType)
Constructor with a NodeType requirement. |
|
NodeParameter(NodeType nodeType,
NodeRepositoryID nodeRepository)
Constructor with a NodeType requirement and a NodeRepository requirement. |
|
NodeParameter(NodeType nodeType,
NodeRepositoryID nodeRepository,
VariableID reference)
Constructor with a NodeType requirement, a NodeRepository requirement and an outgoing reference ID. |
|
NodeParameter(NodeType nodeType,
VariableID reference)
Constructor with a NodeType requirement and an outgoing reference ID. |
|
NodeParameter(VariableID reference)
Constructor with only outgoing reference ID; just requires a node. |
Method Summary | |
---|---|
NodeAddressSet |
assumedNodes()
Each concretizing class needs to provide a list of nodes that it assumes exist prior to evaluation, i.e., concrete nodes with which it is constructed. |
boolean |
exactNodeOnly()
Returns true if (a) a specific NodeAddress was given by the constructor, and (b) the parameter should only match that exact node (and exclude any subtypes or instances) |
NodeAddress |
getNodePrototype()
Return the node prototype |
NodeRepositoryID |
getNodeRepositoryID()
Return the required NodeRepository. |
NodeType |
getNodeType()
Return the node type. |
Parameter |
makeCopy()
Make a copy of the NodeParameter. |
ReferenceReqSet |
referenceRequirements()
Instantiation of abstract function from superclass. |
VariableType |
referenceType()
Each concretizing class needs to tell us what kind of variable would need to go into the reference SymbolTable should such a storage be needed. |
java.lang.StringBuffer |
specificRender()
Render as a StringBuffer |
Methods inherited from class story.dbcore.parameters.MatchingParameter |
---|
getReference, makeClone, makeCloneWithNewReference, referenceSet, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeParameter(NodeType nodeType)
public NodeParameter(NodeType nodeType, VariableID reference)
public NodeParameter(NodeAddress nodePrototype)
public NodeParameter(NodeAddress nodePrototype, boolean exactNodeOnly)
public NodeParameter(NodeAddress nodePrototype, VariableID reference)
public NodeParameter(NodeAddress nodePrototype, VariableID reference, boolean exactNodeOnly)
public NodeParameter()
public NodeParameter(VariableID reference)
public NodeParameter(NodeType nodeType, NodeRepositoryID nodeRepository)
public NodeParameter(NodeType nodeType, NodeRepositoryID nodeRepository, VariableID reference)
public NodeParameter(NodeAddress nodePrototype, NodeRepositoryID nodeRepository)
public NodeParameter(NodeAddress nodePrototype, NodeRepositoryID nodeRepository, VariableID reference)
public NodeParameter(NodeRepositoryID nodeRepository)
public NodeParameter(NodeRepositoryID nodeRepository, VariableID reference)
Method Detail |
---|
public NodeType getNodeType()
public NodeAddress getNodePrototype()
public NodeRepositoryID getNodeRepositoryID()
public NodeAddressSet assumedNodes()
Parameter
assumedNodes
in class Parameter
public java.lang.StringBuffer specificRender() throws Scheherexception
specificRender
in class Parameter
Scheherexception
public VariableType referenceType()
MatchingParameter
referenceType
in class MatchingParameter
public ReferenceReqSet referenceRequirements()
referenceRequirements
in class Parameter
public boolean exactNodeOnly()
public Parameter makeCopy()
makeCopy
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |