@Entity public class MappedSubclassTestEntity extends MappedSuperclassTestEntity implements SuperclassEntity
SingleTableSubclassTestEntity
to test
InheritanceType.SINGLE_TABLE
, the default entity inheritance type.Constructor and Description |
---|
MappedSubclassTestEntity(String name,
String superProperty)
Creates a new instance of
MappedSubclassTestEntity . |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getSuperProperty
public MappedSubclassTestEntity(String name, String superProperty)
MappedSubclassTestEntity
.name
- the name of the new entitysuperProperty
- a property that is written, because it was defined in the superclasspublic String toString()
toString
in class MappedSuperclassTestEntity
Copyright © 2016 fastnate.org. All rights reserved.