Package com.ads.api.beans.common
Class AuditHistory
java.lang.Object
com.ads.api.beans.common.AuditHistory
This class provides some beans control methods related AuditHistory such as createdBy, createdDate, lastModifiedBy and lastModifiedDate...
-
Constructor Summary
ConstructorsConstructorDescriptionAuditHistory(String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the user.Returns the createdDate.getCreatedDate(boolean isReturnDateObject) Returns the user who has recently modified.Returns the LastModifiedDate.getLastModifiedDate(boolean isReturnDateObject) setCreatedBy(String createdBy) Method to set the value for createdBy as specified.setCreatedDate(Date createdDate) Method sets the createdDate to the value as specified in argument.setLastModifiedBy(String lastModifiedBy) Method to set the value for lastModifiedBy as specified .setLastModifiedDate(Date lastModifiedDate) Method sets the lastModifiedDate as specified.toString()
-
Constructor Details
-
AuditHistory
public AuditHistory() -
AuditHistory
-
-
Method Details
-
getCreatedBy
Returns the name of the user.- Returns:
- createdBy String
-
setCreatedBy
Method to set the value for createdBy as specified.- Parameters:
createdBy- String
-
getLastModifiedBy
Returns the user who has recently modified.- Returns:
- lastModifiedBy String
-
setLastModifiedBy
Method to set the value for lastModifiedBy as specified .- Parameters:
lastModifiedBy- String
-
getCreatedDate
Returns the createdDate.- Returns:
- createdDate Date
-
getCreatedDate
-
setCreatedDate
Method sets the createdDate to the value as specified in argument.- Parameters:
createdDate- Date
-
getLastModifiedDate
Returns the LastModifiedDate.- Returns:
- lastModifiedDate Date
-
getLastModifiedDate
-
setLastModifiedDate
Method sets the lastModifiedDate as specified.- Parameters:
lastModifiedDate- Date
-
toString
-