Package fi.tut.mei.matchmaking.dao
Class MMRequestSubmission
- java.lang.Object
-
- fi.tut.mei.matchmaking.dao.MMRequestSubmission
-
- All Implemented Interfaces:
Serializable
public class MMRequestSubmission extends Object implements Serializable
This is the data access object of MM requests submission. This is used to find out recently submitted requests.Janaka Nawagamuwa created on 06/09/2021
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
MATCH_STATUS_FAILED
static String
MATCH_STATUS_MATCHED
static String
MATCH_STATUS_PENDING
-
Constructor Summary
Constructors Constructor Description MMRequestSubmission()
MMRequestSubmission(String id, String productDescription, String status, LocalDateTime submissionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
String
getProductDescription()
String
getStatus()
LocalDateTime
getSubmissionTime()
int
hashCode()
void
setId(String id)
void
setProductDescription(String productDescription)
void
setStatus(String status)
void
setSubmissionTime(LocalDateTime submissionTime)
-
-
-
Field Detail
-
MATCH_STATUS_MATCHED
public static final String MATCH_STATUS_MATCHED
- See Also:
- Constant Field Values
-
MATCH_STATUS_PENDING
public static final String MATCH_STATUS_PENDING
- See Also:
- Constant Field Values
-
MATCH_STATUS_FAILED
public static final String MATCH_STATUS_FAILED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MMRequestSubmission
public MMRequestSubmission()
-
MMRequestSubmission
public MMRequestSubmission(String id, String productDescription, String status, LocalDateTime submissionTime)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getProductDescription
public String getProductDescription()
-
setProductDescription
public void setProductDescription(String productDescription)
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
getSubmissionTime
public LocalDateTime getSubmissionTime()
-
setSubmissionTime
public void setSubmissionTime(LocalDateTime submissionTime)
-
-