public abstract class BaseEntity<ID extends java.io.Serializable> extends java.lang.Object implements Entity<ID>
| Constructor and Description |
|---|
BaseEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ID |
getId()
Returns id value
|
int |
hashCode() |
void |
setId(ID id)
Set id value
|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2020. All Rights Reserved.