|
||||||||||
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.BooleanReturnParameter
story.dbcore.parameters.NumRelatedEqParameter
public class NumRelatedEqParameter
A binary parameter indicating that the number of related nodes is equal to a certain constant.
Constructor Summary | |
---|---|
NumRelatedEqParameter(VariableID nodeReference,
LinkType linkType,
LinkDirection linkDirection,
int target,
boolean overrideInference)
Constructor. |
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()
|
LinkType |
getLinkType()
|
VariableID |
getNodeReferenceID()
|
boolean |
getOverrideInference()
|
int |
getTarget()
|
Parameter |
makeCopy()
All Parameters must include a self-duplication function. |
ReferenceReqSet |
referenceRequirements()
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation. |
java.lang.StringBuffer |
specificRender()
Render as a StringBuffer |
Methods inherited from class story.dbcore.parameters.Parameter |
---|
makeClone, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumRelatedEqParameter(VariableID nodeReference, LinkType linkType, LinkDirection linkDirection, int target, boolean overrideInference)
nodeReference
- The name of the reference by which the
node should already be stored.linkType
- The type of link to checklinkDirection
- The type of link to checktarget
- The constant to compare againstoverrideInference
- Set true to count direct links only.Method Detail |
---|
public VariableID getNodeReferenceID()
public LinkType getLinkType()
public LinkDirection getLinkDirection()
public int getTarget()
public boolean getOverrideInference()
public java.lang.StringBuffer specificRender() throws Scheherexception
specificRender
in class Parameter
Scheherexception
public ReferenceReqSet referenceRequirements()
Parameter
referenceRequirements
in class Parameter
public Parameter makeCopy()
Parameter
makeCopy
in class Parameter
public NodeAddressSet assumedNodes()
Parameter
assumedNodes
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |