Package de.trustable.ca3s.core.domain
Class AbstractAuditingEntity<T>
- java.lang.Object
-
- de.trustable.ca3s.core.domain.AbstractAuditingEntity<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
User
@MappedSuperclass public abstract class AbstractAuditingEntity<T> extends Object implements Serializable
Base abstract class for entities which will hold definitions for created, last modified, created by, last modified by attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractAuditingEntity()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()InstantgetCreatedDate()abstract TgetId()StringgetLastModifiedBy()InstantgetLastModifiedDate()voidsetCreatedBy(String createdBy)voidsetCreatedDate(Instant createdDate)voidsetLastModifiedBy(String lastModifiedBy)voidsetLastModifiedDate(Instant lastModifiedDate)
-
-
-
Method Detail
-
getId
public abstract T getId()
-
getCreatedBy
public String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getCreatedDate
public Instant getCreatedDate()
-
setCreatedDate
public void setCreatedDate(Instant createdDate)
-
getLastModifiedBy
public String getLastModifiedBy()
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
-
getLastModifiedDate
public Instant getLastModifiedDate()
-
setLastModifiedDate
public void setLastModifiedDate(Instant lastModifiedDate)
-
-