|
||||||||||
| 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.EnumMapping
public class EnumMapping
Mapping for Enum type
| 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 | |
|---|---|
EnumMapping(org.jpox.store.DatastoreAdapter dba,
org.jpox.metadata.AbstractPropertyMetaData fmd,
org.jpox.store.DatastoreContainerObject datastoreContainer,
org.jpox.ClassLoaderResolver clr)
|
|
EnumMapping(org.jpox.store.DatastoreAdapter dba,
java.lang.String type)
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getJavaType()
|
java.lang.Object |
getSampleValue()
|
org.jpox.store.expression.ScalarExpression |
newLiteral(org.jpox.store.expression.QueryExpression qs,
java.lang.Object value)
|
org.jpox.store.expression.ScalarExpression |
newScalarExpression(org.jpox.store.expression.QueryExpression qs,
org.jpox.store.expression.LogicSetExpression te)
|
| Methods inherited from class org.jpox.store.mapping.SingleFieldMapping |
|---|
equals, getBoolean, getByte, getChar, getDatastoreContainer, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, hasValue, includeInFetchStatement, 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 EnumMapping(org.jpox.store.DatastoreAdapter dba,
java.lang.String type)
public EnumMapping(org.jpox.store.DatastoreAdapter dba,
org.jpox.metadata.AbstractPropertyMetaData fmd,
org.jpox.store.DatastoreContainerObject datastoreContainer,
org.jpox.ClassLoaderResolver clr)
| Method Detail |
|---|
public java.lang.Object getSampleValue()
getSampleValue in class org.jpox.store.mapping.JavaTypeMapping
public org.jpox.store.expression.ScalarExpression newLiteral(org.jpox.store.expression.QueryExpression qs,
java.lang.Object value)
newLiteral in class org.jpox.store.mapping.JavaTypeMapping
public org.jpox.store.expression.ScalarExpression newScalarExpression(org.jpox.store.expression.QueryExpression qs,
org.jpox.store.expression.LogicSetExpression te)
newScalarExpression in class org.jpox.store.mapping.JavaTypeMappingpublic java.lang.Class getJavaType()
getJavaType in class org.jpox.store.mapping.JavaTypeMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||