|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.mapped.mapping.JavaTypeMapping
org.jpox.store.mapped.mapping.SingleFieldMapping
org.jpox.store.mapped.mapping.AbstractContainerMapping
org.jpox.store.mapped.mapping.MapMapping
public class MapMapping
SCO Mapping for Map types.
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.mapped.mapping.AbstractContainerMapping |
|---|
fieldName, storeMgr |
| 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 | |
|---|---|
MapMapping()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Equality operator. |
java.lang.Class |
getJavaType()
Accessor for the Java type represented here. |
ScalarExpression |
newLiteral(QueryExpression qs,
java.lang.Object value)
Accessor for a literal representing this type. |
ScalarExpression |
newScalarExpression(QueryExpression qs,
LogicSetExpression te)
Method to return a scalar expression for the Map. |
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. |
void |
preDelete(StateManager sm)
Method to be called before any delete of the owner class element. |
| Methods inherited from class org.jpox.store.mapped.mapping.AbstractContainerMapping |
|---|
containerIsStoredInSingleColumn, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getJavaTypeForDatastoreMapping, getNumberOfDatastoreFields, getObject, getSampleValue, hashCode, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, postFetch, prepareDatastoreMapping, replaceFieldWithWrapper, setObject |
| Methods inherited from class org.jpox.store.mapped.mapping.SingleFieldMapping |
|---|
getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, 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, getFieldMetaData, getObject, getReferenceMapping, getRoleForField, getType, initialize, isNullable, isSerialised, setDefault, setFieldInformation, setObject, setReferenceMapping, setRoleForField |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jpox.store.mapped.mapping.MappingCallbacks |
|---|
postFetch |
| Constructor Detail |
|---|
public MapMapping()
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class SingleFieldMappingobj - Object to compare against
public java.lang.Class getJavaType()
getJavaType in class JavaTypeMappingpublic void postInsert(StateManager sm)
postInsert in interface MappingCallbackssm - StateManager of the ownerpublic void postUpdate(StateManager sm)
postUpdate in interface MappingCallbackssm - StateManager of the ownerpublic void preDelete(StateManager sm)
preDelete in interface MappingCallbackssm - StateManager of the owner
public ScalarExpression newLiteral(QueryExpression qs,
java.lang.Object value)
newLiteral in class JavaTypeMappingqs - The Queryvalue - the value of this object in the literal
public ScalarExpression newScalarExpression(QueryExpression qs,
LogicSetExpression te)
newScalarExpression in class JavaTypeMappingqs - The QueryStatementte - The TableExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||