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,RetailDomainModel,UserguideDomainModel
Convenience base class test domain models based on annotated classes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyDomainModel(org.hibernate.boot.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, waitMethods inherited from interface org.hibernate.testing.orm.domain.DomainModelDescriptor
getMappingFeaturesUsed, getNamespace
-
Constructor Details
-
AbstractDomainModelDescriptor
-
-
Method Details
-
getAnnotatedClasses
- Specified by:
getAnnotatedClassesin interfaceDomainModelDescriptor
-
applyDomainModel
public void applyDomainModel(org.hibernate.boot.MetadataSources sources) Description copied from interface:DomainModelDescriptorApply the model classes to the given MetadataSources- Specified by:
applyDomainModelin interfaceDomainModelDescriptor
-