Package org.powertac.visualizer.domain
Class AbstractAuditingEntity
- java.lang.Object
-
- org.powertac.visualizer.domain.AbstractAuditingEntity
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
User
@MappedSuperclass public abstract class AbstractAuditingEntity extends Object implements Serializable
Base abstract class for entities which will hold definitions for created, last modified by and created, last modified by date.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractAuditingEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()InstantgetCreatedDate()StringgetLastModifiedBy()InstantgetLastModifiedDate()voidsetCreatedBy(String createdBy)voidsetCreatedDate(Instant createdDate)voidsetLastModifiedBy(String lastModifiedBy)voidsetLastModifiedDate(Instant lastModifiedDate)
-
-
-
Method Detail
-
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)
-
-