|
|||||||||||
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.SingleFieldMapping
org.jpox.store.mapping.IndexMapping
Mapping for Index Columns. This class is for internal use only. It should not be used in user mappings nor extended.
Field Summary |
Fields inherited from class org.jpox.store.mapping.SingleFieldMapping |
datastoreContainer, typeInfo |
Fields inherited from class org.jpox.store.mapping.JavaTypeMapping |
datastoreMappings, dba, fmd, LOCALISER, referenceMapping, type |
Constructor Summary | |
IndexMapping(DatastoreAdapter dba,
AbstractPropertyMetaData fmd,
DatastoreContainerObject datastoreContainer,
ClassLoaderResolver clr)
Constructor. |
|
IndexMapping(DatastoreAdapter dba,
java.lang.String type)
Constructor. |
Method Summary | |
java.lang.Class |
getJavaType()
Accessor for the type represented here, returning the class itself |
java.lang.Object |
getSampleValue()
Accessor for a sample value for this field |
boolean |
includeInFetchStatement()
Accessor for whether to include this column in any fetch statement |
ScalarExpression |
newLiteral(QueryExpression qs,
java.lang.Object value)
Accessor for a new literal for this mapping. |
ScalarExpression |
newScalarExpression(QueryExpression qs,
LogicSetExpression te)
Accessor for a new literal for this mapping. |
Methods inherited from class org.jpox.store.mapping.SingleFieldMapping |
equals, getBoolean, getByte, getChar, getDatastoreContainer, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, hasValue, includeInInsertStatement, includeInUpdateStatement, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString |
Methods inherited from class org.jpox.store.mapping.JavaTypeMapping |
addDataStoreMapping, failureMessage, getDataStoreMapping, getDataStoreMappings, getFieldMetaData, getNumberOfDatastoreFields, getObject, getReferenceMapping, getType, isNullable, setDefault, setObject, setReferenceMapping |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IndexMapping(DatastoreAdapter dba, java.lang.String type)
dba
- Datastore Adaptertype
- Type of index fieldpublic IndexMapping(DatastoreAdapter dba, AbstractPropertyMetaData fmd, DatastoreContainerObject datastoreContainer, ClassLoaderResolver clr)
dba
- Datastore Adapterfmd
- AbstractPropertyMetaData for the fielddatastoreContainer
- The tableclr
- The ClassLoaderResolverMethod Detail |
public java.lang.Object getSampleValue()
getSampleValue
in class JavaTypeMapping
public ScalarExpression newLiteral(QueryExpression qs, java.lang.Object value)
newLiteral
in class JavaTypeMapping
qs
- The QueryStatementvalue
- The value of the object
public ScalarExpression newScalarExpression(QueryExpression qs, LogicSetExpression te)
newScalarExpression
in class JavaTypeMapping
qs
- The QueryStatementte
- The table Expression
public boolean includeInFetchStatement()
includeInFetchStatement
in class SingleFieldMapping
public java.lang.Class getJavaType()
getJavaType
in class JavaTypeMapping
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |