|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.mapping.JavaTypeMapping
org.jpox.store.mapping.MultiMapping
org.jpox.store.mapping.ReferenceMapping
org.jpox.store.mapping.InterfaceMapping
Mapping for Interface fields.
Field Summary |
Fields inherited from class org.jpox.store.mapping.MultiMapping |
datastoreContainer, javaTypeMappings |
Fields inherited from class org.jpox.store.mapping.JavaTypeMapping |
datastoreMappings, dba, fmd, LOCALISER, referenceMapping, type |
Constructor Summary | |
InterfaceMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject datastoreContainer,
ClassLoaderResolver clr)
Constructor. |
|
InterfaceMapping(DatastoreAdapter dba,
java.lang.String type)
Constructor. |
Method Summary | |
java.lang.Object |
getObject(PersistenceManager pm,
java.lang.Object rs,
int[] pos)
Method to retrieve an object of this type from the ResultSet. |
ScalarExpression |
newLiteral(QueryExpression qs,
java.lang.Object value)
Creates a literal from an value. |
ScalarExpression |
newScalarExpression(QueryExpression qs,
LogicSetExpression te)
Creates a expression from a field name/table. |
void |
setImplementationClasses(java.lang.String implementationClasses)
Set the implementation classes. |
Methods inherited from class org.jpox.store.mapping.ReferenceMapping |
createColumns, getJavaType, getSampleValue |
Methods inherited from class org.jpox.store.mapping.MultiMapping |
addJavaTypeMapping, getDatastoreContainer, getDataStoreMapping, getJavaTypeMapping, getNumberOfDatastoreFields, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, setObject, setObject |
Methods inherited from class org.jpox.store.mapping.JavaTypeMapping |
addDataStoreMapping, failureMessage, getBoolean, getByte, getChar, getDataStoreMappings, getDouble, getFieldMetaData, getFloat, getInt, getLong, getObject, getReferenceMapping, getShort, getString, getType, isNullable, setBoolean, setByte, setChar, setDefault, setDouble, setFloat, setInt, setLong, setReferenceMapping, setShort, setString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InterfaceMapping(DatastoreAdapter dba, java.lang.String type)
dba
- Datastore adaptertype
- The type of the (interface) fieldpublic InterfaceMapping(DatastoreAdapter dba, AbstractPropertyMetaData fmd, DatastoreContainerObject datastoreContainer, ClassLoaderResolver clr)
dba
- Datastroe adapterfmd
- MetaData for the (interface) fielddatastoreContainer
- Table where the interface is to be storedclr
- The ClassLoaderResolverMethod Detail |
public void setImplementationClasses(java.lang.String implementationClasses)
implementationClasses
- the implementation classes stringpublic java.lang.Object getObject(PersistenceManager pm, java.lang.Object rs, int[] pos)
getObject
in class MultiMapping
pm
- Persistence Managerrs
- The ResultSetpos
- The parameter positions
public ScalarExpression newLiteral(QueryExpression qs, java.lang.Object value)
JavaTypeMapping
newLiteral
in class JavaTypeMapping
qs
- The Query statementvalue
- The object
public ScalarExpression newScalarExpression(QueryExpression qs, LogicSetExpression te)
JavaTypeMapping
newScalarExpression
in class JavaTypeMapping
qs
- The Query statementte
- the alias for the table
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |