org.datanucleus.store.rdbms.sql
Class SQLStatementParameter
java.lang.Object
org.datanucleus.store.rdbms.sql.SQLStatementParameter
public class SQLStatementParameter
- extends java.lang.Object
Representation of an SQLStatement parameter.
|
Constructor Summary |
SQLStatementParameter(java.lang.String name,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
java.lang.Object value,
int columnNumber)
Constructor for a parameter using the mapping where there are multiple columns and
we are representing a particular column here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQLStatementParameter
public SQLStatementParameter(java.lang.String name,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
java.lang.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 parametermapping - Mapping for the parametervalue - The value of the parametercolumnNumber - NUmber of the column for the mapping
getName
public java.lang.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 java.lang.Object getValue()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2012. All Rights Reserved.