|
||||||||||
| 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.MultiMapping
org.jpox.store.mapped.mapping.ReferenceMapping
org.jpox.store.mapped.mapping.ObjectMapping
public class ObjectMapping
Mapping for Object fields. An Object field can represent two things
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.mapped.mapping.MultiMapping |
|---|
javaTypeMappings |
| 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 | |
|---|---|
ObjectMapping()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getJavaType()
Accessor for the Java type being represented. |
java.lang.String |
getJavaTypeForDatastoreMapping(int index)
Accessor for the name of the java-type actually used when mapping the particular datastore field. |
java.lang.Object |
getSampleValue(ClassLoaderResolver clr)
Accessor for a sample value for this Java type |
| Methods inherited from class org.jpox.store.mapped.mapping.ReferenceMapping |
|---|
createColumns, initialize, newLiteral, newScalarExpression, postFetch, postInsert, postUpdate, preDelete |
| Methods inherited from class org.jpox.store.mapped.mapping.MultiMapping |
|---|
addJavaTypeMapping, getDataStoreMapping, getJavaTypeMapping, getNumberOfDatastoreFields, getObject, setObject, setObject |
| Methods inherited from class org.jpox.store.mapped.mapping.JavaTypeMapping |
|---|
addDataStoreMapping, failureMessage, getBoolean, getByte, getChar, getDatastoreContainer, getDataStoreMappings, getDouble, getFieldMetaData, getFloat, getInt, getLong, getObject, getReferenceMapping, getRoleForField, getShort, getString, getType, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setBoolean, setByte, setChar, setDefault, setDouble, setFieldInformation, setFloat, setInt, setLong, setReferenceMapping, setRoleForField, setShort, setString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectMapping()
| Method Detail |
|---|
public java.lang.Class getJavaType()
getJavaType in class ReferenceMappingpublic java.lang.String getJavaTypeForDatastoreMapping(int index)
getJavaTypeForDatastoreMapping in class JavaTypeMappingindex - requested datastore field index.
public java.lang.Object getSampleValue(ClassLoaderResolver clr)
getSampleValue in class ReferenceMappingclr - TODO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||