org.datanucleus.store.rdbms.sql
Class SQLStatementParameter

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.SQLStatementParameter

public class SQLStatementParameter
extends Object

Representation of an SQLStatement parameter.


Constructor Summary
SQLStatementParameter(String name, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, Object value, int columnNumber)
          Constructor for a parameter using the mapping where there are multiple columns and we are representing a particular column here.
 
Method Summary
 int getColumnNumber()
           
 org.datanucleus.store.mapped.mapping.JavaTypeMapping getMapping()
           
 String getName()
           
 Object getValue()
           
 void setMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLStatementParameter

public SQLStatementParameter(String name,
                             org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                             Object value,
                             int columnNumber)
Constructor for a parameter using the mapping where there are multiple columns and we are representing a particular column here.

Parameters:
name - Name of the parameter
mapping - Mapping for the parameter
value - The value of the parameter
columnNumber - NUmber of the column for the mapping
Method Detail

getName

public String getName()

getMapping

public org.datanucleus.store.mapped.mapping.JavaTypeMapping getMapping()

setMapping

public void setMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)

getColumnNumber

public int getColumnNumber()

getValue

public Object getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.