Class ReviewStatusImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.ReviewStatusImplementation
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class ReviewStatusImplementation extends java.lang.Object implements java.io.Serializable
Class to persist the review status with HIBERNATE.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReviewStatusImplementation()
Default constructor forReviewStatusImplementation
is necessary for PojoInstantiator of HIBERNATE.
-
Method Summary
Modifier and Type Method Description java.lang.String
getEmailAddress()
int
getId()
PublicReferenceImplementation
getPublicReference()
java.util.Calendar
getRequestedDate()
ReviewStatus.ReviewerType
getReviewerType()
ReviewStatus.ReviewStatusType
getStatusType()
void
setEmailAddress(java.lang.String emailAddress)
void
setId(int id)
void
setPublicReference(PublicReferenceImplementation publicReference)
void
setRequestedDate(java.util.Calendar requestedDate)
void
setReviewerType(ReviewStatus.ReviewerType reviewerType)
void
setStatusType(ReviewStatus.ReviewStatusType statusType)
ReviewStatus
toReviewStatus()
-
-
-
Constructor Detail
-
ReviewStatusImplementation
public ReviewStatusImplementation()
Default constructor forReviewStatusImplementation
is necessary for PojoInstantiator of HIBERNATE.
-
-
Method Detail
-
getEmailAddress
public java.lang.String getEmailAddress()
- Returns:
- the emailAddress of the reviewer
-
setEmailAddress
public void setEmailAddress(java.lang.String emailAddress)
- Parameters:
emailAddress
- the emailAddress of the reviewer to set
-
getStatusType
public ReviewStatus.ReviewStatusType getStatusType()
- Returns:
- the statusType of this review
-
setStatusType
public void setStatusType(ReviewStatus.ReviewStatusType statusType)
- Parameters:
statusType
- the reviewStatusType to set
-
getRequestedDate
public java.util.Calendar getRequestedDate()
- Returns:
- the requestedDate
-
setRequestedDate
public void setRequestedDate(java.util.Calendar requestedDate)
- Parameters:
requestedDate
- the requestedDate to set
-
getPublicReference
public PublicReferenceImplementation getPublicReference()
- Returns:
- the publicReference
-
setPublicReference
public void setPublicReference(PublicReferenceImplementation publicReference)
- Parameters:
publicReference
- the publicReference to set
-
getId
public int getId()
- Returns:
- the id
-
setId
public void setId(int id)
- Parameters:
id
- the id to set
-
toReviewStatus
public ReviewStatus toReviewStatus()
-
getReviewerType
public ReviewStatus.ReviewerType getReviewerType()
- Returns:
- the reviewerType
-
setReviewerType
public void setReviewerType(ReviewStatus.ReviewerType reviewerType)
- Parameters:
reviewerType
- the reviewerType to set
-
-