Class AbstractAuditEntity<T>
- java.lang.Object
-
- hu.icellmobilsoft.coffee.model.base.AbstractEntity
-
- hu.icellmobilsoft.coffee.model.base.AbstractAuditEntity<T>
-
- Type Parameters:
T- The type of the creator and modifier user
- All Implemented Interfaces:
IAuditEntity<Date,T>,IVersionable,Serializable
- Direct Known Subclasses:
AbstractHistoryEntity,AbstractIdentifiedAuditEntity
@MappedSuperclass public abstract class AbstractAuditEntity<T> extends AbstractEntity implements IAuditEntity<Date,T>
Base class for audited entities.- Since:
- 1.0.0
- Author:
- imre.scheffer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractAuditEntity()Default constructor, constructs a new object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationDate()Getter for the fieldcreationDate.TgetCreatorUser()Getter for the fieldcreatorUser.DategetModificationDate()Getter for the fieldmodificationDate.TgetModifierUser()Getter for the fieldmodifierUser.voidsetCreationDate(Date creationDate)Setter for the fieldcreationDate.voidsetCreatorUser(T creatorUser)Setter for the fieldcreatorUser.voidsetModificationDate(Date modificationDate)Setter for the fieldmodificationDate.voidsetModifierUser(T modifierUser)Setter for the fieldmodifierUser.-
Methods inherited from class hu.icellmobilsoft.coffee.model.base.AbstractEntity
getVersion, rollbackVersion, setVersion, toString, updateVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hu.icellmobilsoft.coffee.model.base.IVersionable
getVersion, setVersion
-
-
-
-
Method Detail
-
getCreationDate
public Date getCreationDate()
Getter for the fieldcreationDate.- Specified by:
getCreationDatein interfaceIAuditEntity<Date,T>- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(Date creationDate)
Setter for the fieldcreationDate.- Specified by:
setCreationDatein interfaceIAuditEntity<Date,T>- Parameters:
creationDate- creationDate
-
getModificationDate
public Date getModificationDate()
Getter for the fieldmodificationDate.- Specified by:
getModificationDatein interfaceIAuditEntity<Date,T>- Returns:
- modificationDate
-
setModificationDate
public void setModificationDate(Date modificationDate)
Setter for the fieldmodificationDate.- Specified by:
setModificationDatein interfaceIAuditEntity<Date,T>- Parameters:
modificationDate- modificationDate
-
getCreatorUser
public T getCreatorUser()
Getter for the fieldcreatorUser.- Specified by:
getCreatorUserin interfaceIAuditEntity<Date,T>- Returns:
- creatorUser
-
setCreatorUser
public void setCreatorUser(T creatorUser)
Setter for the fieldcreatorUser.- Specified by:
setCreatorUserin interfaceIAuditEntity<Date,T>- Parameters:
creatorUser- creatorUser
-
getModifierUser
public T getModifierUser()
Getter for the fieldmodifierUser.- Specified by:
getModifierUserin interfaceIAuditEntity<Date,T>- Returns:
- modifierUser
-
setModifierUser
public void setModifierUser(T modifierUser)
Setter for the fieldmodifierUser.- Specified by:
setModifierUserin interfaceIAuditEntity<Date,T>- Parameters:
modifierUser- modifierUser
-
-