|
||||||||||
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.AttComparedToConstParameter
public class AttComparedToConstParameter
A filter parameter indicating that a node's attribute should equal, or be greater than, some constant value.
Constructor Summary | |
---|---|
AttComparedToConstParameter(VariableID nodeReference,
AttributeID attribute,
AttributeValue value,
boolean test,
boolean overrideInheritance)
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. |
AttributeID |
getAttributeID()
|
AttributeValue |
getAttributeValue()
|
VariableID |
getNodeReferenceID()
|
boolean |
getOverrideInheritance()
|
boolean |
getTest()
Returns true if the test is whether node1.attribute > constant. |
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 AttComparedToConstParameter(VariableID nodeReference, AttributeID attribute, AttributeValue value, boolean test, boolean overrideInheritance)
nodeReference
- The name of the reference by which the
node should already be stored.attribute
- The ID of the attribute to check.value
- The constant value to check against the attribute.test
- Set to true to test whether the node's attribute is
greater than the constant. Set to false to test whether the
node's attribute is equal to the constant.overrideInheritance
- Set to true if you want to only
check a candidate node itself, but false if you want to allow
the node to inherit the value from a neighborhing node
(according to the rules set in LinkProperties).Method Detail |
---|
public VariableID getNodeReferenceID()
public AttributeID getAttributeID()
public boolean getTest()
public AttributeValue getAttributeValue()
public boolean getOverrideInheritance()
public NodeAddressSet assumedNodes()
Parameter
assumedNodes
in class Parameter
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |