Class TicketImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.TicketImplementation
-
@Entity(name="TICKETS") public class TicketImplementation extends java.lang.Object
Class to persist tickets for the ApprovalService with HIBERNATE.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TicketImplementation()
Default constructor forTicketImplementation
is necessary for PojoInstantiator of HIBERNATE.protected
TicketImplementation(java.lang.String ticket, PublicReferenceImplementation publicReference, java.lang.String emailNotificationAddress)
Constructor forTicketImplementation
.
-
Method Summary
Modifier and Type Method Description protected java.lang.String
getEmailNotificationAddress()
Getter for the fieldemailNotificationAddress
.protected PublicReferenceImplementation
getReference()
Getter for the fieldreference
.java.util.Calendar
getReminderEmailSend()
protected java.lang.String
getTicket()
Getter for the fieldticket
.java.util.Calendar
getUserReminderEmailSend()
java.lang.Boolean
isUserAnswer()
protected void
setEmailNotificationAddress(java.lang.String emailNotificationAddress)
Setter for the fieldemailNotificationAddress
.protected void
setReference(PublicReferenceImplementation reference)
Setter for the fieldreference
.void
setReminderEmailSend(java.util.Calendar reminderEmailSend)
protected void
setTicket(java.lang.String ticket)
Setter for the fieldticket
.void
setUserAnswer(java.lang.Boolean userAnswer)
void
setUserReminderEmailSend(java.util.Calendar userReminderEmailSend)
-
-
-
Constructor Detail
-
TicketImplementation
protected TicketImplementation()
Default constructor forTicketImplementation
is necessary for PojoInstantiator of HIBERNATE.
-
TicketImplementation
protected TicketImplementation(java.lang.String ticket, PublicReferenceImplementation publicReference, java.lang.String emailNotificationAddress)
Constructor forTicketImplementation
.- Parameters:
ticket
- the ticket number.publicReference
- the correspondingPublicReferenceImplementation
.emailNotificationAddress
- the eMail address of the requesting user.
-
-
Method Detail
-
getEmailNotificationAddress
protected java.lang.String getEmailNotificationAddress()
Getter for the fieldemailNotificationAddress
.- Returns:
- the emailNotificationAddress
-
getReference
protected PublicReferenceImplementation getReference()
Getter for the fieldreference
.- Returns:
- the reference
-
getReminderEmailSend
public java.util.Calendar getReminderEmailSend()
-
getTicket
protected java.lang.String getTicket()
Getter for the fieldticket
.- Returns:
- the ticket
-
setEmailNotificationAddress
protected void setEmailNotificationAddress(java.lang.String emailNotificationAddress)
Setter for the fieldemailNotificationAddress
.- Parameters:
emailNotificationAddress
- the emailNotificationAddress to set
-
setReference
protected void setReference(PublicReferenceImplementation reference)
Setter for the fieldreference
.- Parameters:
reference
- the reference to set
-
setReminderEmailSend
public void setReminderEmailSend(java.util.Calendar reminderEmailSend)
-
setTicket
protected void setTicket(java.lang.String ticket)
Setter for the fieldticket
.- Parameters:
ticket
- the ticket to set
-
getUserReminderEmailSend
public java.util.Calendar getUserReminderEmailSend()
-
setUserReminderEmailSend
public void setUserReminderEmailSend(java.util.Calendar userReminderEmailSend)
-
isUserAnswer
public java.lang.Boolean isUserAnswer()
-
setUserAnswer
public void setUserAnswer(java.lang.Boolean userAnswer)
-
-