U
- the auditing type. Typically some kind of user.PK
- the type of the auditing type's idenifier@MappedSuperclass public abstract class AbstractAuditable<U,PK extends Serializable> extends AbstractPersistable<PK> implements Auditable<U,PK>
Constructor and Description |
---|
AbstractAuditable() |
Modifier and Type | Method and Description |
---|---|
U |
getCreatedBy() |
org.joda.time.DateTime |
getCreatedDate() |
U |
getLastModifiedBy() |
org.joda.time.DateTime |
getLastModifiedDate() |
void |
setCreatedBy(U createdBy) |
void |
setCreatedDate(org.joda.time.DateTime createdDate) |
void |
setLastModifiedBy(U lastModifiedBy) |
void |
setLastModifiedDate(org.joda.time.DateTime lastModifiedDate) |
equals, getId, hashCode, isNew, setId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, isNew
public U getCreatedBy()
getCreatedBy
in interface Auditable<U,PK extends Serializable>
public void setCreatedBy(U createdBy)
setCreatedBy
in interface Auditable<U,PK extends Serializable>
public org.joda.time.DateTime getCreatedDate()
getCreatedDate
in interface Auditable<U,PK extends Serializable>
public void setCreatedDate(org.joda.time.DateTime createdDate)
setCreatedDate
in interface Auditable<U,PK extends Serializable>
public U getLastModifiedBy()
getLastModifiedBy
in interface Auditable<U,PK extends Serializable>
public void setLastModifiedBy(U lastModifiedBy)
setLastModifiedBy
in interface Auditable<U,PK extends Serializable>
public org.joda.time.DateTime getLastModifiedDate()
getLastModifiedDate
in interface Auditable<U,PK extends Serializable>
public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
setLastModifiedDate
in interface Auditable<U,PK extends Serializable>
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.