Class SecondSingleTableSubclassTestEntity

All Implemented Interfaces:
SubclassEntity, SuperclassEntity

@Entity public class SecondSingleTableSubclassTestEntity extends MappedSubclassTestEntity implements SubclassEntity
Test class that ensures that an entity hierarchy with InheritanceType.SINGLE_TABLE is written correctly.
Author:
Tobias Liefke
  • Constructor Details

  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: SubclassEntity
      The description of the entity, defined in the sub class in the entity hierarchy.
      Specified by:
      getDescription in interface SubclassEntity
      Returns:
      the description
    • getValue

      public int getValue()
    • setValue

      public void setValue(int value)