jstorm.mapping.parameters
Class ParameterDecorator

java.lang.Object
  |
  +--jstorm.mapping.parameters.ParameterDecorator
Direct Known Subclasses:
DateParameter, DoubleParameter, FloatParameter, IntegerParameter, LongParameter, StringParameter, TimestampParameter

public abstract class ParameterDecorator
extends java.lang.Object


Constructor Summary
ParameterDecorator()
           
 
Method Summary
 java.lang.Object getParameter()
           
abstract  void setOnObject(Attribute attribute, java.lang.String asName, java.sql.ResultSet rs, java.lang.Object object)
           
abstract  void setOnPreparedStatement(int index, java.sql.PreparedStatement statement)
           
 void setParameter(java.lang.Object parameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterDecorator

public ParameterDecorator()
Method Detail

getParameter

public java.lang.Object getParameter()

setOnObject

public abstract void setOnObject(Attribute attribute,
                                 java.lang.String asName,
                                 java.sql.ResultSet rs,
                                 java.lang.Object object)
                          throws java.lang.Exception

setOnPreparedStatement

public abstract void setOnPreparedStatement(int index,
                                            java.sql.PreparedStatement statement)
                                     throws java.sql.SQLException

setParameter

public void setParameter(java.lang.Object parameter)