Interface HibernateTypeSource
- All Known Implementing Classes:
HibernateTypeSourceImpl
public interface HibernateTypeSource
Source-agnostic descriptor for explicit user-supplied Hibernate type information
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionObtain the attribute's java type if possible.getName()Obtain the supplied Hibernate type name.Obtain any supplied Hibernate type parameters.
-
Method Details
-
getName
String getName()Obtain the supplied Hibernate type name.- Returns:
- The Hibernate type name
-
getParameters
Obtain any supplied Hibernate type parameters.- Returns:
- The Hibernate type parameters.
-
getJavaType
JavaTypeDescriptor getJavaType()Obtain the attribute's java type if possible.- Returns:
- The java type of the attribute or
null.
-