org.jpox.store.rdbms.mapping.oracle
Class OracleArrayMapping

java.lang.Object
  extended byorg.jpox.store.mapping.JavaTypeMapping
      extended byorg.jpox.store.mapping.SingleFieldMapping
          extended byorg.jpox.store.mapping.AbstractContainerMapping
              extended byorg.jpox.store.mapping.ArrayMapping
                  extended byorg.jpox.store.rdbms.mapping.oracle.OracleArrayMapping
All Implemented Interfaces:
MappingCallbacks

public class OracleArrayMapping
extends ArrayMapping

Mapping for arrays for Oracle.

Version:
$Revision: 1.10 $

Field Summary
 
Fields inherited from class org.jpox.store.mapping.AbstractContainerMapping
contentsStore, contentsTable, fieldName, instantiatedType, storeMgr
 
Fields inherited from class org.jpox.store.mapping.SingleFieldMapping
datastoreContainer, typeInfo
 
Fields inherited from class org.jpox.store.mapping.JavaTypeMapping
datastoreMappings, dba, fmd, LOCALISER, referenceMapping, type
 
Constructor Summary
OracleArrayMapping(DatastoreAdapter dba, AbstractPropertyMetaData fmd, DatastoreContainerObject table, ClassLoaderResolver clr)
           
OracleArrayMapping(DatastoreAdapter dba, java.lang.String type)
           
 
Method Summary
 void postInsert(StateManager sm)
          Method to be called after the insert of the owner class element.
 void postUpdate(StateManager sm)
          Method to be called after any update of the owner class element.
 
Methods inherited from class org.jpox.store.mapping.ArrayMapping
deleteDependent, equals, getBackingStore, getJavaType, getSampleValue, newLiteral, newScalarExpression, postFetch, preDelete
 
Methods inherited from class org.jpox.store.mapping.AbstractContainerMapping
containerIsStoredInSingleColumn, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getNumberOfDatastoreFields, getObject, hashCode, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, newWrapper, prepareDatastoreMapping, setObject, validateElementForWriting, validateElementsForWriting
 
Methods inherited from class org.jpox.store.mapping.SingleFieldMapping
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, hasValue, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.jpox.store.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getFieldMetaData, getObject, getReferenceMapping, getType, isNullable, setDefault, setObject, setReferenceMapping
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleArrayMapping

public OracleArrayMapping(DatastoreAdapter dba,
                          java.lang.String type)
Parameters:
dba - Datastore adapter
type - Type of the field

OracleArrayMapping

public OracleArrayMapping(DatastoreAdapter dba,
                          AbstractPropertyMetaData fmd,
                          DatastoreContainerObject table,
                          ClassLoaderResolver clr)
Parameters:
dba - Datastore adapter
fmd - MetaData for the field
table - The table
clr - The ClassLoaderResolver
Method Detail

postInsert

public void postInsert(StateManager sm)
Method to be called after the insert of the owner class element.

Specified by:
postInsert in interface MappingCallbacks
Overrides:
postInsert in class ArrayMapping
Parameters:
sm - StateManager of the owner

postUpdate

public void postUpdate(StateManager sm)
Method to be called after any update of the owner class element.

Specified by:
postUpdate in interface MappingCallbacks
Overrides:
postUpdate in class ArrayMapping
Parameters:
sm - StateManager of the owner


Copyright © -2007 . All Rights Reserved.