Class HibernateTypeSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.HibernateTypeSourceImpl
-
- All Implemented Interfaces:
HibernateTypeSource
,JavaTypeDescriptorResolvable
public class HibernateTypeSourceImpl extends Object implements HibernateTypeSource, JavaTypeDescriptorResolvable
-
-
Constructor Summary
Constructors Constructor Description HibernateTypeSourceImpl(String name)
HibernateTypeSourceImpl(String name, Map<String,String> parameters)
HibernateTypeSourceImpl(String name, JavaTypeDescriptor javaTypeDescriptor)
HibernateTypeSourceImpl(TypeContainer typeContainer)
HibernateTypeSourceImpl(JavaTypeDescriptor javaTypeDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaTypeDescriptor
getJavaType()
Obtain the attribute's java type if possible.String
getName()
Obtain the supplied Hibernate type name.Map<String,String>
getParameters()
Obtain any supplied Hibernate type parameters.void
resolveJavaTypeDescriptor(JavaTypeDescriptor descriptor)
-
-
-
Constructor Detail
-
HibernateTypeSourceImpl
public HibernateTypeSourceImpl(TypeContainer typeContainer)
-
HibernateTypeSourceImpl
public HibernateTypeSourceImpl(String name)
-
HibernateTypeSourceImpl
public HibernateTypeSourceImpl(String name, Map<String,String> parameters)
-
HibernateTypeSourceImpl
public HibernateTypeSourceImpl(JavaTypeDescriptor javaTypeDescriptor)
-
HibernateTypeSourceImpl
public HibernateTypeSourceImpl(String name, JavaTypeDescriptor javaTypeDescriptor)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:HibernateTypeSource
Obtain the supplied Hibernate type name.- Specified by:
getName
in interfaceHibernateTypeSource
- Returns:
- The Hibernate type name
-
getParameters
public Map<String,String> getParameters()
Description copied from interface:HibernateTypeSource
Obtain any supplied Hibernate type parameters.- Specified by:
getParameters
in interfaceHibernateTypeSource
- Returns:
- The Hibernate type parameters.
-
getJavaType
public JavaTypeDescriptor getJavaType()
Description copied from interface:HibernateTypeSource
Obtain the attribute's java type if possible.- Specified by:
getJavaType
in interfaceHibernateTypeSource
- Returns:
- The java type of the attribute or
null
.
-
resolveJavaTypeDescriptor
public void resolveJavaTypeDescriptor(JavaTypeDescriptor descriptor)
- Specified by:
resolveJavaTypeDescriptor
in interfaceJavaTypeDescriptorResolvable
-
-