org.jpox.store.mapping
Class SerialisedValuePCMapping

java.lang.Object
  extended byorg.jpox.store.mapping.JavaTypeMapping
      extended byorg.jpox.store.mapping.SingleFieldMapping
          extended byorg.jpox.store.mapping.SerialisedMapping
              extended byorg.jpox.store.mapping.SerialisedPCMapping
                  extended byorg.jpox.store.mapping.SerialisedValuePCMapping
All Implemented Interfaces:
SimpleDatastoreRepresentation

public class SerialisedValuePCMapping
extends SerialisedPCMapping

Mapping for a serialised PersistenceCapable object being the value of a Map.

Version:
$Revision: 1.4 $

Field Summary
 
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
SerialisedValuePCMapping(DatastoreAdapter dba, AbstractPropertyMetaData fmd, DatastoreContainerObject datastoreContainer, ClassLoaderResolver clr)
          Constructor.
SerialisedValuePCMapping(DatastoreAdapter dba, java.lang.String type)
          Constructor.
 
Method Summary
protected  void prepareDatastoreMapping()
          Method to prepare a field mapping for use in the datastore.
 
Methods inherited from class org.jpox.store.mapping.SerialisedPCMapping
getObject, getObject, setObject, setObject
 
Methods inherited from class org.jpox.store.mapping.SerialisedMapping
getJavaType, getSampleValue, newLiteral, newScalarExpression
 
Methods inherited from class org.jpox.store.mapping.SingleFieldMapping
equals, getBoolean, getByte, getChar, getDatastoreContainer, getDouble, getFloat, getInt, getLong, getShort, getString, hasValue, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.jpox.store.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getDataStoreMapping, getDataStoreMappings, getFieldMetaData, getNumberOfDatastoreFields, getReferenceMapping, getType, isNullable, setDefault, setReferenceMapping
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialisedValuePCMapping

public SerialisedValuePCMapping(DatastoreAdapter dba,
                                java.lang.String type)
Constructor.

Parameters:
dba - Datastore Adapter
type - Type of the object

SerialisedValuePCMapping

public SerialisedValuePCMapping(DatastoreAdapter dba,
                                AbstractPropertyMetaData fmd,
                                DatastoreContainerObject datastoreContainer,
                                ClassLoaderResolver clr)
Constructor.

Parameters:
dba - Datastore Adapter
fmd - MetaData for the field
datastoreContainer - Datastore container object
clr - ClassLoader resolver
Method Detail

prepareDatastoreMapping

protected void prepareDatastoreMapping()
Method to prepare a field mapping for use in the datastore. This creates the column in the table.

Overrides:
prepareDatastoreMapping in class SingleFieldMapping


Copyright © -2007 . All Rights Reserved.