Package org.nentangso.core.domain
Class AbstractAuditingEntity
- java.lang.Object
-
- org.nentangso.core.domain.AbstractAuditingEntity
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NtsMetafieldEntity,NtsNoteEntity,NtsOptionEntity,NtsTagsEntity,NtsUserEntity
@MappedSuperclass public abstract class AbstractAuditingEntity 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 Concrete Methods Modifier and Type Method Description InstantgetCreatedAt()StringgetCreatedBy()InstantgetUpdatedAt()StringgetUpdatedBy()voidsetCreatedAt(Instant createdAt)voidsetCreatedBy(String createdBy)voidsetUpdatedAt(Instant updatedAt)voidsetUpdatedBy(String updatedBy)
-
-
-
Method Detail
-
getCreatedBy
public String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getCreatedAt
public Instant getCreatedAt()
-
setCreatedAt
public void setCreatedAt(Instant createdAt)
-
getUpdatedBy
public String getUpdatedBy()
-
setUpdatedBy
public void setUpdatedBy(String updatedBy)
-
getUpdatedAt
public Instant getUpdatedAt()
-
setUpdatedAt
public void setUpdatedAt(Instant updatedAt)
-
-