I - The id type of the entitypublic abstract class BaseEntity<I extends Serializable> extends Object implements Serializable
| Constructor and Description |
|---|
BaseEntity()
Creates an empty entity.
|
BaseEntity(I id)
Creates an entity with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
abstract I |
getId()
Returns the id.
|
protected static Class<?> |
getNoProxyClass(Class<?> clazz)
Returns the non-proxy class.
|
int |
hashCode() |
protected I |
id()
Returns the id.
|
void |
setId(I id)
Sets the given id.
|
public BaseEntity()
public BaseEntity(I id)
id - The idCopyright © 2018–2019 Blazebit. All rights reserved.