org.datanucleus.store.rdbms.mapping
Class BitRDBMSMapping
java.lang.Object
org.datanucleus.store.rdbms.mapping.RDBMSMapping
org.datanucleus.store.rdbms.mapping.BooleanRDBMSMapping
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.
|
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.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 |
BitRDBMSMapping
protected BitRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
- Parameters:
storeMgr - Store Managermapping - 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 mappingstoreMgr - Store Managerfield - Field to be mapped
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.