org.datanucleus.store.mapped.mapping
Class SerialisedElementPCMapping

java.lang.Object
  extended by org.datanucleus.store.mapped.mapping.JavaTypeMapping
      extended by org.datanucleus.store.mapped.mapping.SingleFieldMapping
          extended by org.datanucleus.store.mapped.mapping.SerialisedMapping
              extended by org.datanucleus.store.mapped.mapping.SerialisedPCMapping
                  extended by org.datanucleus.store.mapped.mapping.SerialisedElementPCMapping

public class SerialisedElementPCMapping
extends SerialisedPCMapping

Mapping for a serialised PersistenceCapable object being the element of a Collection.


Field Summary
 
Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
datastoreContainer, datastoreMappings, LOCALISER, mmd, referenceMapping, roleForMember, storeMgr, type
 
Constructor Summary
SerialisedElementPCMapping()
           
 
Method Summary
protected  void prepareDatastoreMapping()
          Method to prepare a field mapping for use in the datastore.
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SerialisedPCMapping
getObject, getObject, setObject, setObject
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SerialisedMapping
getJavaType, getJavaTypeForDatastoreMapping, getSampleValue, newLiteral, newScalarExpression
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
addDatastoreMapping, failureMessage, getColumnMetaDataForMember, getDatastoreContainer, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getReferenceMapping, getRoleForMember, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setReferenceMapping, setRoleForMember
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialisedElementPCMapping

public SerialisedElementPCMapping()
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 © 2010. All Rights Reserved.