ID
- the type of the identifierpublic interface Persistable<ID extends Serializable> extends Serializable
Modifier and Type | Method and Description |
---|---|
ID |
getId()
Returns the id of the entity.
|
boolean |
isNew()
Returns if the
Persistable is new or was persisted already. |
ID getId()
boolean isNew()
Persistable
is new or was persisted already.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.