entity.InheritanceMapping.xpt Maven / Gradle / Ivy
«EXTENSION java::Naming»
«EXTENSION entity::ModelProperties»
«IMPORT uml»
«IMPORT JMM»
«IMPORT java»
//Inheritance mapping
#only table per inheritance hierarchy is supported
//Subclass mapping
#all subclasses are mapped here
«DEFINE SubclassMapping FOR PersistentObject»
«EXPAND PropertyMapping::PropertyMapping FOREACH ownedAttribute -»
«EXPAND AssociationMapping::AssociationMapping FOREACH ownedElement -»
«EXPAND SubclassMapping FOREACH this.getSubclasses().typeSelect(PersistentObject) -»
«ENDDEFINE»