@MappedSuperclass public abstract class BaseEntity extends Object implements Storable<UUID>
Constructor and Description |
---|
BaseEntity()
Default constructor needed by JPA.
|
BaseEntity(UUID uid)
Creates a new entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UUID |
getId()
Gets the internally-assigned identifier used for intra-model
references.
|
int |
hashCode() |
String |
toString() |
public BaseEntity()
public BaseEntity(UUID uid)
uid
- uidCopyright © 2016. All Rights Reserved.