Class MappedSubclassTestEntity

java.lang.Object
org.fastnate.generator.test.inheritance.MappedSuperclassTestEntity<Integer>
org.fastnate.generator.test.inheritance.MappedSubclassTestEntity
All Implemented Interfaces:
SuperclassEntity
Direct Known Subclasses:
SecondSingleTableSubclassTestEntity, SingleTableSubclassTestEntity

@Entity public class MappedSubclassTestEntity extends MappedSuperclassTestEntity<Integer> implements SuperclassEntity
Entity that is the subclass of a mapped super class. Additionally this is the superclass of SingleTableSubclassTestEntity to test InheritanceType.SINGLE_TABLE, the default entity inheritance type.
Author:
Tobias Liefke
  • Constructor Details

    • MappedSubclassTestEntity

      public MappedSubclassTestEntity(String name, String superProperty)
      Creates a new instance of MappedSubclassTestEntity.
      Parameters:
      name - the name of the new entity
      superProperty - a property that is written, because it was defined in the superclass
    • MappedSubclassTestEntity

      public MappedSubclassTestEntity()
  • Method Details