| Modifier | Constructor and Description |
|---|---|
protected |
AuditableEntity()
Creates an uninitialized, and therefore not yet auditable entity.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
createdAt()
Returns the time at which this entity was created.
|
String |
createdBy()
Returns the identity of the entity or user who
created this entity.
|
Date |
modifiedAt()
Returns the time at which this entity was last modified.
|
String |
modifiedBy()
Returns the identity of the entity or user who
last modified this entity.
|
void |
setCreatedAt(Date when)
Sets the creation date for this entity.
|
void |
setCreatedBy(String who)
Sets the creation identity for this entity.
|
void |
setModifiedAt(Date when)
Sets the time at which this entity was last modified.
|
void |
setModifiedBy(String who)
Sets the identity of the entity or user who
last modified this entity.
|
String |
toDebugString() |
String |
toString() |
protected AuditableEntity()
public Date createdAt()
Auditedpublic String createdBy()
Auditedpublic Date modifiedAt()
AuditedmodifiedAt in interface Auditedpublic String modifiedBy()
AuditedmodifiedBy in interface Auditedpublic void setModifiedAt(Date when)
AuditablesetModifiedAt in interface Auditablewhen - the last modification timestamppublic void setModifiedBy(String who)
AuditablesetModifiedBy in interface Auditablewho - the identity of the modifierpublic void setCreatedAt(Date when)
when - the time at which this entity was createdpublic void setCreatedBy(String who)
who - the entity or user who created this entitypublic String toDebugString()
Copyright © 2014. All Rights Reserved.