|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.persistence.hibernate.usertypes.AbstractGenericEnumUserType
public abstract class AbstractGenericEnumUserType
This abstract class shares the base code of GenericEnumUserType and
GenericEnumSetUserType.
| Field Summary | |
|---|---|
protected Class<? extends SerializableEnum> |
m_enumClass
Is the enum class. |
protected int[] |
m_sqlTypes
Are sql types who they are represented in Hibernate. |
protected NullableType |
m_type
Is the nullable type. |
protected Map<Object,SerializableEnum<?>> |
m_valueMapping
The precomputed mapping of persisted value and enum. |
| Constructor Summary | |
|---|---|
AbstractGenericEnumUserType()
|
|
| Method Summary | |
|---|---|
protected SerializableEnum<?>[] |
getEnumValues()
|
Class<?> |
returnedClass()
|
void |
setParameterValues(Properties parameters)
|
int[] |
sqlTypes()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.usertype.UserType |
|---|
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace |
| Field Detail |
|---|
protected Class<? extends SerializableEnum> m_enumClass
protected Map<Object,SerializableEnum<?>> m_valueMapping
protected NullableType m_type
protected int[] m_sqlTypes
| Constructor Detail |
|---|
public AbstractGenericEnumUserType()
| Method Detail |
|---|
public void setParameterValues(Properties parameters)
setParameterValues in interface ParameterizedTypepublic Class<?> returnedClass()
returnedClass in interface UserTypepublic int[] sqlTypes()
sqlTypes in interface UserTypeprotected SerializableEnum<?>[] getEnumValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||