story.dbcore.parameters
Class Parameter

java.lang.Object
  extended by story.dbcore.parameters.Parameter
Direct Known Subclasses:
BooleanReturnParameter, MatchingParameter

public abstract class Parameter
extends java.lang.Object

An abstract Parameter.

Contains functionality common to all concrete Parameters.


Constructor Summary
Parameter()
           
 
Method Summary
abstract  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.
 Parameter makeClone()
          Make a clone of the Parameter.
abstract  Parameter makeCopy()
          All Parameters must include a self-duplication function.
abstract  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 render()
          Render the Parameter.
abstract  java.lang.StringBuffer specificRender()
          Each concretizing class needs to provide a render function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Method Detail

referenceRequirements

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


specificRender

public abstract java.lang.StringBuffer specificRender()
                                               throws Scheherexception
Each concretizing class needs to provide a render function. It is encapsulated inside this abstract class's render() so that we can render the outgoing reference, if any.

Throws:
Scheherexception

assumedNodes

public abstract 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.


render

public java.lang.StringBuffer render()
                              throws Scheherexception
Render the Parameter.

Throws:
Scheherexception

makeCopy

public abstract Parameter makeCopy()
All Parameters must include a self-duplication function.


makeClone

public Parameter makeClone()
Make a clone of the Parameter.



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