com.atlassian.crowd.embedded.hibernate2.types
Class TypeMapper

java.lang.Object
  extended by com.atlassian.crowd.embedded.hibernate2.types.TypeMapper

public final class TypeMapper
extends java.lang.Object

Search query mappings need a way to convert between Enum types and their persistent mapping types.


Constructor Summary
TypeMapper()
           
 
Method Summary
static net.sf.hibernate.type.Type enumToCustomType(java.lang.Class<? extends java.lang.Enum> enumType)
           
static net.sf.hibernate.type.Type persistentEnumToCustomType(java.lang.Class<? extends com.atlassian.crowd.embedded.hibernate2.types.EnumPersistentType> customTypeClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMapper

public TypeMapper()
Method Detail

enumToCustomType

public static net.sf.hibernate.type.Type enumToCustomType(java.lang.Class<? extends java.lang.Enum> enumType)

persistentEnumToCustomType

public static net.sf.hibernate.type.Type persistentEnumToCustomType(java.lang.Class<? extends com.atlassian.crowd.embedded.hibernate2.types.EnumPersistentType> customTypeClass)


Copyright © 2003-2014 Atlassian. All Rights Reserved.