Class EmbeddedValuePCMapping

  extended by
      extended by
          extended by
              extended by

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.

Field Summary
Fields inherited from class
clr, embCmd, emd, javaTypeMappings, objectType, typeName
Fields inherited from class
datastoreContainer, datastoreMappings, LOCALISER, mmd, referenceMapping, roleForMember, storeMgr, type
Constructor Summary
Method Summary
 void initialize(AbstractMemberMetaData mmd, DatastoreContainerObject container, ClassLoaderResolver clr)
          Initialize this JavaTypeMapping with the given DatastoreAdapter for the given metadata.
Methods inherited from class
addJavaTypeMapping, getJavaType, getJavaTypeMapping, getJavaTypeMapping, getNumberOfJavaTypeMappings, getObject, getObject, initialize, prepareDatastoreMapping, setObject, setObject
Methods inherited from class
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
addDatastoreMapping, failureMessage, getColumnMetaDataForMember, getDatastoreContainer, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getReferenceMapping, getRoleForMember, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDatastoreContainer, setMemberMetaData, setReferenceMapping, setRoleForMember
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public EmbeddedValuePCMapping()
Method Detail


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

initialize in class EmbeddedMapping
mmd - MetaData for the field to be mapped (if any)
container - The datastore container storing this mapping (if any)
clr - the ClassLoaderResolver

Copyright © 2011. All Rights Reserved.