org.jpox.store.mapped.mapping
Class EmbeddedValuePCMapping

java.lang.Object
  extended by org.jpox.store.mapped.mapping.JavaTypeMapping
      extended by org.jpox.store.mapped.mapping.SingleFieldMapping
          extended by org.jpox.store.mapped.mapping.EmbeddedMapping
              extended by org.jpox.store.mapped.mapping.EmbeddedValuePCMapping
All Implemented Interfaces:
SimpleDatastoreRepresentation

public class EmbeddedValuePCMapping
extends EmbeddedMapping

Mapping for a PC key object stored in an embedded map within a PC object. Provides mapping for a single Java type (the value PC type) to multiple datastore columns.

Version:
$Revision: 1.6 $

Field Summary
 
Fields inherited from class org.jpox.store.mapped.mapping.EmbeddedMapping
clr, embCmd, emd, javaTypeMappings, objectType, typeName
 
Fields inherited from class org.jpox.store.mapped.mapping.JavaTypeMapping
datastoreContainer, datastoreMappings, dba, fmd, LOCALISER, MAPPING_ARRAY_ELEMENT, MAPPING_COLLECTION_ELEMENT, MAPPING_FIELD, MAPPING_MAP_KEY, MAPPING_MAP_VALUE, referenceMapping, roleForField, type
 
Constructor Summary
EmbeddedValuePCMapping()
           
 
Method Summary
 void initialize(DatastoreAdapter dba, AbstractMemberMetaData fmd, DatastoreContainerObject container, ClassLoaderResolver clr)
          Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.
 
Methods inherited from class org.jpox.store.mapped.mapping.EmbeddedMapping
addJavaTypeMapping, getJavaType, getJavaTypeMapping, getJavaTypeMapping, getNumberOfJavaTypeMappings, getObject, getObject, getSampleValue, initialize, newLiteral, newScalarExpression, prepareDatastoreMapping, setObject, setObject
 
Methods inherited from class org.jpox.store.mapped.mapping.SingleFieldMapping
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getShort, getString, getValidValues, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.jpox.store.mapped.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getFieldMetaData, getNumberOfDatastoreFields, getReferenceMapping, getRoleForField, getType, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDefault, setFieldInformation, setReferenceMapping, setRoleForField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedValuePCMapping

public EmbeddedValuePCMapping()
Method Detail

initialize

public void initialize(DatastoreAdapter dba,
                       AbstractMemberMetaData fmd,
                       DatastoreContainerObject container,
                       ClassLoaderResolver clr)
Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.

Overrides:
initialize in class EmbeddedMapping
Parameters:
dba - The Datastore Adapter that this Mapping should use.
fmd - FieldMetaData for the field to be mapped (if any)
container - The datastore container storing this mapping (if any)
clr - the ClassLoaderResolver


Copyright © -2008 . All Rights Reserved.