NormalBean.java 3.29 KiB
package edu.ncsu.csc.itrust.beans;
/**
* A bean for storing normal values.
*
* A bean's purpose is to store data. Period. Little or no functionality is to be added to a bean
* (with the exception of minor formatting such as concatenating phone numbers together).
* A bean must only have Getters and Setters (Eclipse Hint: Use Source > Generate Getters and Setters
* to create these easily)
*/
public class NormalBean {
private double z;
private double _00;
private double _01;
private double _02;
private double _03;
private double _04;
private double _05;
private double _06;
private double _07;
private double _08;
private double _09;
/**
* Constructs a NormalBean object with null fields
*/
public NormalBean() {
}
/**
* Gets the z value
* @return the z value
*/
public double getZ() {
return z;
}
/**
* Sets the z value
* @param z double value representing a z value in the normal distribution table
*/
public void setZ(double z) {
this.z = z;
}
/**
* Gets the .00 value
* @return the .00 value
*/
public double get_00() {
return _00;
}
/**
* Sets the .00 value
* @param _00 the .00 value as a double
*/
public void set_00(double _00) {
this._00 = _00;
}
/**
* Gets the .01 value
* @return the .01 value
*/
public double get_01() {
return _01;
}
/**
* Sets the .01 value
* @param _01 the .01 value as a double
*/
public void set_01(double _01) {
this._01 = _01;
}
/**
* Gets the .02 value
* @return the .02 value
*/
public double get_02() {
return _02;
}
/**
* Sets the .02 value
* @param _02 the .02 value as a double
*/
public void set_02(double _02) {
this._02 = _02;
}
/**
* Gets the .03 value
* @return the .03 value
*/
public double get_03() {
return _03;
}
/**
* Sets the .03 value
* @param _03 the .03 value as a double
*/
public void set_03(double _03) {
this._03 = _03;
}
/**
* Gets the .04 value
* @return the .04 value
*/
public double get_04() {
return _04;
}
/**
* Sets the .04 value
* @param _04 the .04 value as a double
*/
public void set_04(double _04) {
this._04 = _04;
}
/**
* Gets the .05 value
* @return the .05 value
*/
public double get_05() {
return _05;
}
/**
* Sets the .05 value
* @param _05 the .05 value as a double
*/
public void set_05(double _05) {
this._05 = _05;
}
/**
* Gets the .06 value
* @return the .06 value
*/
public double get_06() {
return _06;
}
/**
* Sets the .06 value
* @param _06 the .06 value as a double
*/
public void set_06(double _06) {
this._06 = _06;
}
/**
* Gets the .07 value
* @return the .07 value
*/
public double get_07() {
return _07;
}
/**
* Sets the .07 value
* @param _07 the .07 value as a double
*/
public void set_07(double _07) {
this._07 = _07;
}
/**
* Gets the .08 value
* @return the .08 value
*/
public double get_08() {
return _08;
}
/**
* Sets the .08 value
* @param _08 the .08 value as a double
*/
public void set_08(double _08) {
this._08 = _08;
}
/**
* Gets the .09 value
* @return the .09 value
*/
public double get_09() {
return _09;
}
/**
* Sets the .09 value
* @param _09 the .09 value as a double
*/
public void set_09(double _09) {
this._09 = _09;
}
}