Package org.hibernate.type.spi
Interface TypeConfigurationAware
-
- All Known Implementing Classes:
EnumType
,UserTypeLegacyBridge
,UserTypeSupport
public interface TypeConfigurationAware
Optional contract for aType
which is aware of its scoping to aTypeConfiguration
and which receives access to theTypeConfiguration
to which it is scoped.For additional information about scoping, see
TypeConfiguration
.- API Note:
- A
Type
which implementsTypeConfigurationAware
may not be scoped to more than oneTypeConfiguration
. The methodgetTypeConfiguration()
allows this rule to be enforced.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeConfiguration
getTypeConfiguration()
void
setTypeConfiguration(TypeConfiguration typeConfiguration)
-
-
-
Method Detail
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
-
setTypeConfiguration
void setTypeConfiguration(TypeConfiguration typeConfiguration)
-
-