@MappedSuperclass public abstract class AbstractPersistable extends Object
| Modifier | Constructor and Description |
|---|---|
|
AbstractPersistable() |
protected |
AbstractPersistable(AbstractPersistable other) |
protected |
AbstractPersistable(Integer tenantId) |
protected |
AbstractPersistable(Long id,
Integer tenantId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getId() |
Integer |
getTenantId() |
Long |
getVersion() |
int |
hashCode() |
void |
setId(Long id) |
void |
setTenantId(Integer tenantId) |
void |
setVersion(Long version) |
String |
toString() |
public AbstractPersistable()
protected AbstractPersistable(Integer tenantId)
protected AbstractPersistable(AbstractPersistable other)
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.