O
- the type of this class for referencing our self in getOther()
@MappedSuperclass public abstract class IdTestEntity<O extends IdTestEntity<O>> extends Object
Constructor and Description |
---|
IdTestEntity() |
Modifier and Type | Method and Description |
---|---|
abstract O |
getOther()
The other entity of the same type.
|
abstract void |
setOther(O other)
Sets the other entity.
|
String |
toString() |
@Nullable public abstract O getOther()
public abstract void setOther(@Nullable O other)
other
- another entity of the same type, for testing references with the idCopyright © 2016 fastnate.org. All rights reserved.