|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.mapping.JavaTypeMapping
org.datanucleus.store.mapped.mapping.SingleFieldMapping
org.datanucleus.store.mapped.mapping.AbstractContainerMapping
org.datanucleus.store.mapped.mapping.CollectionMapping
public class CollectionMapping
Mapping for Collection/Set/List types.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping |
|---|
datastoreContainer, datastoreMappings, LOCALISER, mmd, referenceMapping, roleForMember, storeMgr, type |
| Constructor Summary | |
|---|---|
CollectionMapping()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getJavaType()
Accessor for the Java type represented here. |
void |
insertPostProcessing(StateManager sm)
Hook so that we can handle any post-processing on the insert of a particular field. |
ScalarExpression |
newLiteral(QueryExpression qs,
java.lang.Object value)
Accessor for a literal representing this type. |
ScalarExpression |
newScalarExpression(QueryExpression qs,
LogicSetExpression te)
Accessor for a scalar expression involving this object. |
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.datanucleus.store.mapped.mapping.AbstractContainerMapping |
|---|
containerIsStoredInSingleColumn, getDatastoreContainer, getDatastoreMapping, getDatastoreMappings, getJavaTypeForDatastoreMapping, getNumberOfDatastoreMappings, getObject, getSampleValue, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, postFetch, prepareDatastoreMapping, replaceFieldWithWrapper, setObject |
| Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping |
|---|
equals, 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.datanucleus.store.mapped.mapping.JavaTypeMapping |
|---|
addDatastoreMapping, failureMessage, getColumnMetaDataForMember, getMemberMetaData, getObject, getReferenceMapping, getRoleForMember, getType, getValueForDatastoreMapping, hashCode, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.datanucleus.store.mapped.mapping.MappingCallbacks |
|---|
postFetch |
| Constructor Detail |
|---|
public CollectionMapping()
| Method Detail |
|---|
public java.lang.Class getJavaType()
getJavaType in class JavaTypeMappingpublic void insertPostProcessing(StateManager sm)
MappingCallbacks
insertPostProcessing in interface MappingCallbackssm - StateManagerpublic 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 Queryte - The table holding this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||