Class MembershipPersistentType
- java.lang.Object
-
- com.atlassian.confluence.impl.hibernate.HibernateUserType
-
- com.atlassian.confluence.impl.user.crowd.hibernate.types.EnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>
-
- com.atlassian.confluence.impl.user.crowd.hibernate.types.MembershipPersistentType
-
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.UserType
public final class MembershipPersistentType extends EnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>
Hibernate custom type for MembershipType since Hibernate 2 does not handle Java enumerations transparently (or at least it does, but by trying to persist their binary serialization, which is sort of broken)- Since:
- 7.20.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MembershipPersistentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<com.atlassian.crowd.model.membership.MembershipType>
returnedClass()
-
Methods inherited from class com.atlassian.confluence.impl.user.crowd.hibernate.types.EnumPersistentType
deepCopy, equals, isMutable, nullSafeGetImpl, nullSafeSetImpl, sqlTypes
-
Methods inherited from class com.atlassian.confluence.impl.hibernate.HibernateUserType
assemble, disassemble, hashCode, nullSafeGet, nullSafeSet, replace
-
-
-
-
Method Detail
-
returnedClass
public Class<com.atlassian.crowd.model.membership.MembershipType> returnedClass()
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType
- Specified by:
returnedClass
in classEnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>
-
-