Class Parameters
java.lang.Object
it.unisa.c03.myPersonalTrainer.parameters.bean.Parameters
public class Parameters
extends java.lang.Object
this class show the user parameters details.
-
Constructor Summary
Constructors Constructor Description Parameters()constructor of the class.Parameters(double weight, double leanMass, double fatMass, java.lang.String mailClient)param costructor. -
Method Summary
Modifier and Type Method Description doublegetfatMass()java.lang.StringgetinsertionDate()doublegetleanMass()java.lang.StringgetMailClient()doublegetweight()voidsetfatMass(double fatMass)voidsetinsertionDate(java.lang.String insertionDate)voidsetleanMass(double leanMass)voidsetMailClient(java.lang.String mailClient)voidsetweight(double weight)java.lang.StringtoString()method to string, to view the information during a stamp.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Parameters
public Parameters()constructor of the class. -
Parameters
public Parameters(double weight, double leanMass, double fatMass, java.lang.String mailClient)param costructor.- Parameters:
weight- new weightleanMass- new leanMassfatMass- new fatMassmailClient- new mailClient
-
-
Method Details
-
toString
public java.lang.String toString()method to string, to view the information during a stamp.- Overrides:
toStringin classjava.lang.Object
-
getweight
public double getweight() -
setweight
public void setweight(double weight) -
getleanMass
public double getleanMass() -
setleanMass
public void setleanMass(double leanMass) -
getfatMass
public double getfatMass() -
setfatMass
public void setfatMass(double fatMass) -
getMailClient
public java.lang.String getMailClient() -
setMailClient
public void setMailClient(java.lang.String mailClient) -
getinsertionDate
public java.lang.String getinsertionDate() -
setinsertionDate
public void setinsertionDate(java.lang.String insertionDate)
-