org.sqlproc.engine.type
Class SqlProviderType

java.lang.Object
  extended by org.sqlproc.engine.type.SqlMetaType
      extended by org.sqlproc.engine.type.SqlInternalType
          extended by org.sqlproc.engine.type.SqlProviderType
Direct Known Subclasses:
JdbcOracleCursorType, JdbcOtherType, SqlBigDecimalType, SqlBigIntegerType, SqlBlobType, SqlBooleanType, SqlByteArrayType, SqlByteType, SqlCharType, SqlClobType, SqlDateTimeType, SqlDateType, SqlDoubleType, SqlEnumIntegerType, SqlEnumStringType, SqlFloatType, SqlFromDateType, SqlIdentityType, SqlIntegerType, SqlLongType, SqlOutValueType, SqlShortType, SqlStringType, SqlTextType, SqlTimestampType, SqlTimeType, SqlToDateType

public abstract class SqlProviderType
extends SqlInternalType

The META type contract for types provided by the stack on top of which the SQL Processor works. They can be the JDBC types or the Hibernate types.

Author:
Vladimir Hudec

Field Summary
 
Fields inherited from class org.sqlproc.engine.type.SqlMetaType
logger
 
Constructor Summary
SqlProviderType()
           
 
Method Summary
abstract  Object getProviderSqlNullType()
          Returns the type provided by the stack on top of which the SQL Processor works.
abstract  Object getProviderSqlType()
          Returns the type provided by the stack on top of which the SQL Processor works.
 
Methods inherited from class org.sqlproc.engine.type.SqlInternalType
getClassTypes, getMetaTypes
 
Methods inherited from class org.sqlproc.engine.type.SqlMetaType
addScalar, setParameter, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlProviderType

public SqlProviderType()
Method Detail

getProviderSqlType

public abstract Object getProviderSqlType()
Returns the type provided by the stack on top of which the SQL Processor works.

Returns:
the provided type

getProviderSqlNullType

public abstract Object getProviderSqlNullType()
Returns the type provided by the stack on top of which the SQL Processor works. It has to support null input/output values.

Returns:
the provided type


Copyright © 2013. All Rights Reserved.