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.ObjectClass to persist tickets for the ApprovalService with HIBERNATE.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTicketImplementation()Default constructor forTicketImplementationis necessary for PojoInstantiator of HIBERNATE.protectedTicketImplementation(java.lang.String ticket, PublicReferenceImplementation publicReference, java.lang.String emailNotificationAddress)Constructor forTicketImplementation.
-
Method Summary
Modifier and Type Method Description protected java.lang.StringgetEmailNotificationAddress()Getter for the fieldemailNotificationAddress.protected PublicReferenceImplementationgetReference()Getter for the fieldreference.java.util.CalendargetReminderEmailSend()protected java.lang.StringgetTicket()Getter for the fieldticket.java.util.CalendargetUserReminderEmailSend()java.lang.BooleanisUserAnswer()protected voidsetEmailNotificationAddress(java.lang.String emailNotificationAddress)Setter for the fieldemailNotificationAddress.protected voidsetReference(PublicReferenceImplementation reference)Setter for the fieldreference.voidsetReminderEmailSend(java.util.Calendar reminderEmailSend)protected voidsetTicket(java.lang.String ticket)Setter for the fieldticket.voidsetUserAnswer(java.lang.Boolean userAnswer)voidsetUserReminderEmailSend(java.util.Calendar userReminderEmailSend)
-
-
-
Constructor Detail
-
TicketImplementation
protected TicketImplementation()
Default constructor forTicketImplementationis 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)
-
-