story.dbcore.parameters
Class NodeIsSubnodeTypeParameter

java.lang.Object
  extended by story.dbcore.parameters.Parameter
      extended by story.dbcore.parameters.BooleanReturnParameter
          extended by story.dbcore.parameters.AttComparedToConstParameter
              extended by story.dbcore.parameters.NodeIsSubnodeTypeParameter

public class NodeIsSubnodeTypeParameter
extends AttComparedToConstParameter

A filter parameter indicating that a node is of a certain subtype. Only approves of a node if (a) the node is set up to support subtypes; (b) the node's subtype exactly matches the argued subtype.


Constructor Summary
NodeIsSubnodeTypeParameter(VariableID nodeReference, GenericType subtype)
          Constructor.
 
Method Summary
 Parameter makeCopy()
          All Parameters must include a self-duplication function.
 
Methods inherited from class story.dbcore.parameters.AttComparedToConstParameter
assumedNodes, getAttributeID, getAttributeValue, getNodeReferenceID, getOverrideInheritance, getTest, referenceRequirements, specificRender
 
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

NodeIsSubnodeTypeParameter

public NodeIsSubnodeTypeParameter(VariableID nodeReference,
                                  GenericType subtype)
Constructor.

Parameters:
nodeReference - The name of the reference by which the node should already be stored.
subtype - The type against which to match the node's "subtype" field.
Method Detail

makeCopy

public Parameter makeCopy()
Description copied from class: Parameter
All Parameters must include a self-duplication function.

Overrides:
makeCopy in class AttComparedToConstParameter


Copyright © 2011 David K. Elson. All Rights Reserved.