org.openanzo.jdbc.utils.opgen
Class RdbStatement.Parameter

java.lang.Object
  extended by org.openanzo.jdbc.utils.opgen.RdbStatement.Parameter
Enclosing class:
RdbStatement

public static class RdbStatement.Parameter
extends java.lang.Object

Class the contains an input/output/template parameter


Constructor Summary
RdbStatement.Parameter(java.lang.String name, java.lang.String javaType)
          Create a new parameter with the given type
RdbStatement.Parameter(java.lang.String name, java.lang.String jdbcType, boolean canBeNull)
          Create a new parameter with the given type
 
Method Summary
 boolean canBeNull()
          Get whether or not this parameter can be bull
 java.lang.String getJavaType()
          Get the JavaType for the parameter
 java.lang.String getJdbcType()
          Get the JdbcType for the parameter
 java.lang.String getName()
          Get the name of the parameter
 java.lang.String getPrimitiveType()
          Return the primitive type for this value
 java.lang.String getRdbProperty()
          Get the RDB property
 java.lang.String getResultSetProperty()
          Get the result set property
 boolean isBoxed()
          Return if this value is boxed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbStatement.Parameter

public RdbStatement.Parameter(java.lang.String name,
                              java.lang.String javaType)
Create a new parameter with the given type

Parameters:
name - name of the parameter
javaType - type of the parameter

RdbStatement.Parameter

public RdbStatement.Parameter(java.lang.String name,
                              java.lang.String jdbcType,
                              boolean canBeNull)
Create a new parameter with the given type

Parameters:
name - name of the parameter
jdbcType - type of the parameter
canBeNull - true if this value can be null
Method Detail

getName

public java.lang.String getName()
Get the name of the parameter

Returns:
the name of the parameter

getJavaType

public java.lang.String getJavaType()
Get the JavaType for the parameter

Returns:
the JavaType for the parameter

getJdbcType

public java.lang.String getJdbcType()
Get the JdbcType for the parameter

Returns:
the JdbcType for the parameter

getResultSetProperty

public java.lang.String getResultSetProperty()
Get the result set property

Returns:
the result set property

getRdbProperty

public java.lang.String getRdbProperty()
Get the RDB property

Returns:
the RDB property

canBeNull

public boolean canBeNull()
Get whether or not this parameter can be bull

Returns:
whether or not this parameter can be bull

isBoxed

public boolean isBoxed()
Return if this value is boxed

Returns:
if this value is boxed

getPrimitiveType

public java.lang.String getPrimitiveType()
Return the primitive type for this value

Returns:
the primitive type for this value


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.