org.axiondb
Class BindVariable

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

public class BindVariable
extends Literal

A Literalthat can be bound via PreparedStatementmethods.

Version:
$Revision: 1.7 $ $Date: 2004/09/09 23:47:45 $
See Also:
Serialized Form

Constructor Summary
BindVariable()
           
 
Method Summary
 void clearBoundValue()
           
protected  Object getValue()
           
 boolean isBound()
           
 void setValue(Object obj)
           
 String toString()
          Returns a String representation of me, suitable for debugging output.
 
Methods inherited from class org.axiondb.Literal
equals, evaluate, evaluate, getAlias, getDataType, getLabel, getName, hashCode, setAlias, setDataType, setVariableContext
 
Methods inherited from class org.axiondb.NamedIdentifier
toUpperOrNull
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindVariable

public BindVariable()
Method Detail

clearBoundValue

public void clearBoundValue()

isBound

public boolean isBound()

setValue

public void setValue(Object obj)
Overrides:
setValue in class Literal

toString

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

Overrides:
toString in class Literal

getValue

protected Object getValue()
                   throws AxionException
Overrides:
getValue in class Literal
Throws:
AxionException