@MappedSuperclass public abstract class BaseEntity extends Object implements Serializable
Constructor and Description |
---|
BaseEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
User |
getCreatedBy() |
Instant |
getCreatedDate() |
UUID |
getId() |
User |
getLastModifiedBy() |
Instant |
getLastModifiedDate() |
long |
getVersion() |
int |
hashCode() |
boolean |
isNew() |
void |
setCreatedBy(User createdBy) |
void |
setCreatedDate(Instant createdDate) |
protected void |
setId(UUID id) |
void |
setLastModifiedBy(User lastModifiedBy) |
void |
setLastModifiedDate(Instant lastModifiedDate) |
void |
setVersion(long version) |
public UUID getId()
protected void setId(UUID id)
public User getCreatedBy()
public void setCreatedBy(User createdBy)
public Instant getCreatedDate()
public void setCreatedDate(Instant createdDate)
public User getLastModifiedBy()
public void setLastModifiedBy(User lastModifiedBy)
public Instant getLastModifiedDate()
public void setLastModifiedDate(Instant lastModifiedDate)
public long getVersion()
public void setVersion(long version)
public boolean isNew()
Copyright © 2019. All rights reserved.