ID - the type of the entityId@DomainEntity public interface Entity<ID> extends DomainObject
This interface should not be used directly as we already provide a base implementation for equals and hashcode.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Entities compare by identity, not by attributes.
|
ID |
getEntityId()
Gets the entity id.
|
int |
hashCode() |
String |
toString() |
Copyright © 2013-2016–2016 SeedStack. All rights reserved.