leodbc.support
Class AbstractVariableStore

java.lang.Object
  extended by leodbc.support.AbstractVariableStore
All Implemented Interfaces:
VariableStore
Direct Known Subclasses:
StackVariableStore, ThreadSensitiveVariableStore

public abstract class AbstractVariableStore
extends java.lang.Object
implements VariableStore

VariableStore astratto che usa l'autoboxing / autounboxing di Java 1.5

Author:
Leonardo Cecchi

Constructor Summary
AbstractVariableStore()
           
 
Method Summary
 byte getByte(java.lang.String name)
          Riprende un valore
 double getDouble(java.lang.String name)
          Riprende un valore
 int getInt(java.lang.String name)
          Riprende un valore
 long getLong(java.lang.String name)
          Riprende un valore
 boolean putValue(java.lang.String name, byte val)
          Imposta un valore
 boolean putValue(java.lang.String name, double val)
          Imposta un valore
 boolean putValue(java.lang.String name, int val)
          Imposta un valore
 boolean putValue(java.lang.String name, long val)
          Imposta un valore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leodbc.support.VariableStore
addMethodMarker, getValue, putValue, removeMethodAssociations
 

Constructor Detail

AbstractVariableStore

public AbstractVariableStore()
Method Detail

putValue

public boolean putValue(java.lang.String name,
                        int val)
Description copied from interface: VariableStore
Imposta un valore

Specified by:
putValue in interface VariableStore
Parameters:
name - Nome
val - Valore

putValue

public boolean putValue(java.lang.String name,
                        double val)
Description copied from interface: VariableStore
Imposta un valore

Specified by:
putValue in interface VariableStore
Parameters:
name - Nome
val - Valore

putValue

public boolean putValue(java.lang.String name,
                        long val)
Description copied from interface: VariableStore
Imposta un valore

Specified by:
putValue in interface VariableStore
Parameters:
name - Nome
val - Valore

putValue

public boolean putValue(java.lang.String name,
                        byte val)
Description copied from interface: VariableStore
Imposta un valore

Specified by:
putValue in interface VariableStore
Parameters:
name - Nome
val - Valore

getInt

public int getInt(java.lang.String name)
Description copied from interface: VariableStore
Riprende un valore

Specified by:
getInt in interface VariableStore
Returns:
il valore memorizzato oppure null se non presente

getDouble

public double getDouble(java.lang.String name)
Description copied from interface: VariableStore
Riprende un valore

Specified by:
getDouble in interface VariableStore
Returns:
il valore memorizzato oppure null se non presente

getLong

public long getLong(java.lang.String name)
Description copied from interface: VariableStore
Riprende un valore

Specified by:
getLong in interface VariableStore
Returns:
il valore memorizzato oppure null se non presente

getByte

public byte getByte(java.lang.String name)
Description copied from interface: VariableStore
Riprende un valore

Specified by:
getByte in interface VariableStore
Returns:
il valore memorizzato oppure null se non presente