story.dbcore.parameters
Class OrMatchingParameter

java.lang.Object
  extended by story.dbcore.parameters.Parameter
      extended by story.dbcore.parameters.MatchingParameter
          extended by story.dbcore.parameters.OrMatchingParameter

public class OrMatchingParameter
extends MatchingParameter

A logical OR for two Matching Parameters of the same class. Will match either of two matching Parameters.


Constructor Summary
OrMatchingParameter(MatchingParameter leftParameter, MatchingParameter rightParameter)
          Constructor without outgoing reference ID.
OrMatchingParameter(MatchingParameter leftParameter, MatchingParameter rightParameter, VariableID outgoingReference)
          Constructor with outgoing reference ID.
 
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.
 MatchingParameter getLeftParameter()
           
 MatchingParameter getRightParameter()
           
 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.
 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

OrMatchingParameter

public OrMatchingParameter(MatchingParameter leftParameter,
                           MatchingParameter rightParameter)
                    throws Scheherexception
Constructor without outgoing reference ID.

Throws:
Scheherexception

OrMatchingParameter

public OrMatchingParameter(MatchingParameter leftParameter,
                           MatchingParameter rightParameter,
                           VariableID outgoingReference)
                    throws Scheherexception
Constructor with outgoing reference ID.

Throws:
Scheherexception
Method Detail

getLeftParameter

public MatchingParameter getLeftParameter()

getRightParameter

public MatchingParameter getRightParameter()

assumedNodes

public NodeAddressSet assumedNodes()
Description copied from class: Parameter
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.

Specified by:
assumedNodes in class Parameter

specificRender

public java.lang.StringBuffer specificRender()
                                      throws Scheherexception
Render as a StringBuffer

Specified by:
specificRender in class Parameter
Throws:
Scheherexception

referenceType

public VariableType referenceType()
Description copied from class: MatchingParameter
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.

Specified by:
referenceType in class MatchingParameter

referenceRequirements

public ReferenceReqSet referenceRequirements()
Description copied from class: Parameter
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation.

Specified by:
referenceRequirements in class Parameter

makeCopy

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

Specified by:
makeCopy in class Parameter


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