|
||||||||||
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.RelatedNodeParameter
public class RelatedNodeParameter
A Node parameter which will match a node which has a particular relationship to a concrete node or a previously matched node.
Constructor Summary | |
---|---|
RelatedNodeParameter(NodeAddress nodeAddress,
LinkType linkType,
LinkDirection linkDirection,
boolean overrideInference)
Constructor with no outreference and an absolute node |
|
RelatedNodeParameter(NodeAddress nodeAddress,
LinkType linkType,
LinkDirection linkDirection,
boolean overrideInference,
VariableID outreference)
Constructor with an outgoing reference ID and an absolute node |
|
RelatedNodeParameter(VariableID nodeReference,
LinkType linkType,
LinkDirection linkDirection,
boolean overrideInference)
Constructor with no outreference and node from a reference |
|
RelatedNodeParameter(VariableID nodeReference,
LinkType linkType,
LinkDirection linkDirection,
boolean overrideInference,
VariableID outreference)
Constructor with an outgoing reference ID and node from a reference |
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. |
LinkDirection |
getLinkDirection()
Return the link direction. |
LinkType |
getLinkType()
Return the link type. |
NodeAddress |
getNodeAddress()
Return the NodeAddress of the required node if constructed with one (i.e., if usesReference() returns false; otherwise, throws exception). |
VariableID |
getNodeReferenceID()
Return the VariableID of the required node reference if constructed with one (i.e., if usesReference() returns true; otherwise, throws exception |
boolean |
getOverrideInference()
Return whether inference override is on for this query. |
Parameter |
makeCopy()
All Parameters must include a self-duplication function. |
ReferenceReqSet |
referenceRequirements()
Instantiation of abstract function from superclass. |
VariableType |
referenceType()
Instantiation of abstract function from superclass. |
java.lang.StringBuffer |
specificRender()
Render as a StringBuffer |
boolean |
usesReference()
Returns true if constructed with a node reference for its input node; false if constructed with an absolute address. |
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 RelatedNodeParameter(VariableID nodeReference, LinkType linkType, LinkDirection linkDirection, boolean overrideInference) throws Scheherexception
Scheherexception
public RelatedNodeParameter(VariableID nodeReference, LinkType linkType, LinkDirection linkDirection, boolean overrideInference, VariableID outreference) throws Scheherexception
Scheherexception
public RelatedNodeParameter(NodeAddress nodeAddress, LinkType linkType, LinkDirection linkDirection, boolean overrideInference) throws Scheherexception
Scheherexception
public RelatedNodeParameter(NodeAddress nodeAddress, LinkType linkType, LinkDirection linkDirection, boolean overrideInference, VariableID outreference) throws Scheherexception
Scheherexception
Method Detail |
---|
public boolean usesReference()
public LinkType getLinkType()
public NodeAddressSet assumedNodes()
Parameter
assumedNodes
in class Parameter
public LinkDirection getLinkDirection()
public NodeAddress getNodeAddress() throws Scheherexception
Scheherexception
public VariableID getNodeReferenceID() throws Scheherexception
Scheherexception
public boolean getOverrideInference()
public java.lang.StringBuffer specificRender() throws Scheherexception
specificRender
in class Parameter
Scheherexception
public VariableType referenceType()
referenceType
in class MatchingParameter
public ReferenceReqSet referenceRequirements()
referenceRequirements
in class Parameter
public Parameter makeCopy()
Parameter
makeCopy
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |