public interface ValueTable
| Modifier and Type | Method and Description |
|---|---|
void |
declare(Declaration decl)
This method declares an identifier.
|
java.lang.Object |
getValue(java.lang.String name)
Returns the current value of the specified identifier.
|
boolean |
isCompatibleValue(java.lang.String name,
java.lang.Object value)
Checks whether the type of the specified value is compatible with the
type of the identifier.
|
void |
setValue(java.lang.String name,
java.lang.Object value)
Sets the value of the specified identifier for later retrieval using
method
getValue(java.lang.String)). |
void declare(Declaration decl)
decl - the declaration nodevoid setValue(java.lang.String name,
java.lang.Object value)
getValue(java.lang.String)). The identifier must be declared (see method
declare(org.apache.jdo.jdoql.tree.Declaration)) prior to a call of this method.name - the name of the identifiervalue - the new value of the identifierjava.lang.Object getValue(java.lang.String name)
declare(org.apache.jdo.jdoql.tree.Declaration)) and its value must be
set using method getValue(java.lang.String)) prior to a call of this method.name - the name of the identifierboolean isCompatibleValue(java.lang.String name,
java.lang.Object value)
true if the type of the value is compatible with
the type of the identifier; false otherwiseCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.