@MappedSuperclass public abstract class AbstractEntity<ID extends SalespointIdentifier> extends Object implements org.springframework.data.domain.Persistable<ID>
equals(Object) and hashCode().| Constructor and Description |
|---|
AbstractEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isNew() |
(package private) void |
markNotNew()
Marks the entity as not new not make sure we merge entity instances instead of trying to persist them.
|
public boolean isNew()
isNew in interface org.springframework.data.domain.Persistable<ID extends SalespointIdentifier>void markNotNew()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.