org.axiondb
Class BindVariable

java.lang.Object
  extended by org.axiondb.BaseSelectable
      extended by org.axiondb.Literal
          extended by org.axiondb.BindVariable
All Implemented Interfaces:
java.io.Serializable, Selectable

public class BindVariable
extends Literal

A Literalthat can be bound via PreparedStatementmethods.

Version:
$Revision: 1.8 $ $Date: 2005/12/20 18:32:40 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.axiondb.Literal
_value
 
Fields inherited from class org.axiondb.BaseSelectable
_hash
 
Constructor Summary
BindVariable()
           
 
Method Summary
 void clearBoundValue()
           
 java.lang.Object evaluate()
           
 boolean isBound()
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
          Returns a String representation of me, suitable for debugging output.
 
Methods inherited from class org.axiondb.Literal
equals, evaluate, getDataType, getLabel, getName, hashCode, setDataType
 
Methods inherited from class org.axiondb.BaseSelectable
getAlias, setAlias, setName, setVariableContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.Selectable
getAlias, setVariableContext
 

Constructor Detail

BindVariable

public BindVariable()
Method Detail

clearBoundValue

public void clearBoundValue()

isBound

public boolean isBound()

setValue

public void setValue(java.lang.Object value)

toString

public java.lang.String toString()
Description copied from class: Literal
Returns a String representation of me, suitable for debugging output.

Overrides:
toString in class Literal

evaluate

public java.lang.Object evaluate()
                          throws AxionException
Overrides:
evaluate in class Literal
Throws:
AxionException