Class Appointment
java.lang.Object
it.unisa.c03.myPersonalTrainer.agenda.bean.Appointment
- All Implemented Interfaces:
java.io.Serializable
public final class Appointment
extends java.lang.Object
implements java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Appointment()constructor.Appointment(java.lang.String newdate, java.lang.String newtime, java.lang.String newcustomerMail)parameterized constructor. -
Method Summary
Modifier and Type Method Description java.lang.StringgetCustomerMail()java.lang.StringgetDate()java.lang.StringgetTime()voidsetCustomerMail(java.lang.String newcustomerMail)voidsetDate(java.lang.String newdate)voidsetTime(java.lang.String newtime)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Appointment
public Appointment()constructor. -
Appointment
public Appointment(java.lang.String newdate, java.lang.String newtime, java.lang.String newcustomerMail)parameterized constructor.- Parameters:
newdate- appointment's datenewtime- appointment'snewcustomerMail- appliant's mail
-
-
Method Details
-
getDate
public java.lang.String getDate()- Returns:
- appoinment's date
-
setDate
public void setDate(java.lang.String newdate)- Parameters:
newdate- date of new appointment
-
getTime
public java.lang.String getTime()- Returns:
- appointment's time
-
setTime
public void setTime(java.lang.String newtime)- Parameters:
newtime- time of new appointment
-
getCustomerMail
public java.lang.String getCustomerMail()- Returns:
- Appliant's mail
-
setCustomerMail
public void setCustomerMail(java.lang.String newcustomerMail)- Parameters:
newcustomerMail- the email of who request
-