public class ValueClause extends AbstractClause implements SubClause
ClauseFactory| Modifier and Type | Field and Description |
|---|---|
protected Clause |
parent |
protected opendap.dap.BaseType |
value |
children, constant, defined| Modifier | Constructor and Description |
|---|---|
protected |
ValueClause(opendap.dap.BaseType value,
boolean constant)
Creates a new ValueClause.
|
| Modifier and Type | Method and Description |
|---|---|
opendap.dap.BaseType |
evaluate()
Returns the BaseType represented by this clause.
|
Clause |
getParent()
Returns the Clause which contains this subclause.
|
opendap.dap.BaseType |
getValue()
Returns the BaseType represented by this clause.
|
void |
printConstraint(PrintWriter os)
Prints the original string representation of this clause.
|
void |
setParent(Clause parent)
Sets the parent of this subclause.
|
getChildren, isConstant, isDefinedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, isConstant, isDefinedprotected opendap.dap.BaseType value
protected Clause parent
protected ValueClause(opendap.dap.BaseType value,
boolean constant)
value - The BaseType represented by this clause. This can
be either a BaseType taken from the DDS of a dataset, or a BaseType
object created to hold a constant value.constant - Should be set to false if the value parameter is
from the DDS of a dataset, and true if the value parameter is a
constant value.public opendap.dap.BaseType getValue()
public opendap.dap.BaseType evaluate()
evaluate in interface SubClauseDAP2ServerSideException - Not thrown by this type of clause.public Clause getParent()
SubClausepublic void setParent(Clause parent)
SubClausepublic void printConstraint(PrintWriter os)
printConstraint in interface Clause