Package com.thortech.xl.vo
Class AttestationItemResponse
java.lang.Object
com.thortech.xl.vo.AttestationItemResponse
- All Implemented Interfaces:
Serializable
Value object to store the response provided for an attestation task record
- Author:
- asmaram
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the comments specified for an attestation recordReturns the User Id of the user to which the current attestation record is delegatedlong
Returns the attestation record keyReturns the response set on the attestation record.void
setComment
(String comment) Sets the specified comment value on the attestation recordvoid
setDelegateTo
(String delegateTo) Sets the User to which the record should be delegated to.void
setRecordKey
(long recordKey) Sets the attestation record keyvoid
setResponse
(String response) Sets the response specified.
-
Constructor Details
-
AttestationItemResponse
public AttestationItemResponse()
-
-
Method Details
-
getComment
Returns the comments specified for an attestation record- Returns:
- comment on the attestation record
-
setComment
Sets the specified comment value on the attestation record- Parameters:
comment
- value to be set as comment for the record
-
getDelegateTo
Returns the User Id of the user to which the current attestation record is delegated- Returns:
- Delegated User Login (If the record is delegated)
-
setDelegateTo
Sets the User to which the record should be delegated to. Method only applicable if the response set on the record is Delegate- Parameters:
delegateTo
- user to which the record should be delegated to
-
getRecordKey
public long getRecordKey()Returns the attestation record key- Returns:
- the attestation record key
-
setRecordKey
public void setRecordKey(long recordKey) Sets the attestation record key- Parameters:
recordKey
- attestation record key
-
getResponse
Returns the response set on the attestation record. Returned values will be Certify/Reject/Decline/Delegate- Returns:
- the response set
-
setResponse
Sets the response specified. Supported values are Certify/Reject/Decline/Delegate- Parameters:
response
- value to be set as response on the record
-