Package org.hibernate.testing.orm.domain
Class AbstractDomainModelDescriptor
java.lang.Object
org.hibernate.testing.orm.domain.AbstractDomainModelDescriptor
- All Implemented Interfaces:
DomainModelDescriptor
- Direct Known Subclasses:
AnimalDomainModel
,ContactsDomainModel
,GambitDomainModel
,HelpDeskDomainModel
,LibraryDomainModel
,RetailDomainModel
,UserguideDomainModel
Convenience base class test domain models based on annotated classes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDomainModel
(MetadataSources sources) Apply the model classes to the given MetadataSourcesClass[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.testing.orm.domain.DomainModelDescriptor
getMappingFeaturesUsed, getNamespace
-
Constructor Details
-
AbstractDomainModelDescriptor
-
-
Method Details
-
getAnnotatedClasses
- Specified by:
getAnnotatedClasses
in interfaceDomainModelDescriptor
-
applyDomainModel
Description copied from interface:DomainModelDescriptor
Apply the model classes to the given MetadataSources- Specified by:
applyDomainModel
in interfaceDomainModelDescriptor
-