org.datanucleus.store.rdbms.mapping
Class BitRDBMSMapping

java.lang.Object
  extended by org.datanucleus.store.rdbms.mapping.RDBMSMapping
      extended by org.datanucleus.store.rdbms.mapping.BooleanRDBMSMapping
          extended by org.datanucleus.store.rdbms.mapping.BitRDBMSMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.DatastoreMapping

public class BitRDBMSMapping
extends BooleanRDBMSMapping

Mapping of a BIT RDBMS type.


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
column, LOCALISER, LOCALISER_STORE, mapping, storeMgr
 
Constructor Summary
  BitRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.DatastoreField field)
          Constructor.
protected BitRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
           
 
Method Summary
 SQLTypeInfo getTypeInfo()
          Accessor for the (SQL) type info for this datastore type.
 boolean isBitBased()
          Accessor for whether the mapping is bit-based.
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.BooleanRDBMSMapping
getBoolean, getObject, getString, isBooleanBased, setBoolean, setObject, setString
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
equals, failureMessage, getByte, getChar, getColumn, getDatabaseAdapter, getDatastoreField, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isDecimalBased, isIntegerBased, isNullable, isStringBased, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitRDBMSMapping

protected BitRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                          org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Parameters:
storeMgr - Store Manager
mapping - The java mapping

BitRDBMSMapping

public BitRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                       org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                       org.datanucleus.store.mapped.DatastoreField field)
Constructor.

Parameters:
mapping - Java type mapping
storeMgr - Store Manager
field - Field to be mapped
Method Detail

isBitBased

public boolean isBitBased()
Accessor for whether the mapping is bit-based.

Specified by:
isBitBased in interface org.datanucleus.store.mapped.mapping.DatastoreMapping
Overrides:
isBitBased in class RDBMSMapping
Returns:
Whether the mapping is bit based

getTypeInfo

public SQLTypeInfo getTypeInfo()
Description copied from class: RDBMSMapping
Accessor for the (SQL) type info for this datastore type.

Overrides:
getTypeInfo in class BooleanRDBMSMapping
Returns:
The type info


Copyright © 2009. All Rights Reserved.