Package org.hibernate.type.spi
Interface TypeConfigurationAware
-
- All Known Implementing Classes:
EnumType
public interface TypeConfigurationAwareOptional contract for Types that would like to be part of the scoping process of the TypeConfiguration, specifically to receive access to the TypeConfiguration it is scoped to. For additional information on TypeConfiguration scoping, seeTypeConfigurationNote that it is illegal for a Type to implement TypeConfigurationAware and at the same time be scoped to more than one TypeConfiguration. Hibernate will enforce this internally which is whygetTypeConfiguration()is exposed here.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeConfigurationgetTypeConfiguration()voidsetTypeConfiguration(TypeConfiguration typeConfiguration)
-
-
-
Method Detail
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
-
setTypeConfiguration
void setTypeConfiguration(TypeConfiguration typeConfiguration)
-
-