Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.model;

import java.io.Serializable;

/**
* This class consists of properties representing a patient {@link Measurement}.
*
* @author Jason Dittrich
* @author Ian Meinert
*
*/
public class ValueQuantity implements Serializable {

private static final long serialVersionUID = -7788619177798333712L;


/**
* Overloaded constructor accepting two parameters.
*
* @param value the value
* @param unit the unit
*/
public ValueQuantity(String value, String unit) {
this.unit = unit;
this.value = value;
}

/**
* The default constructor.
*/
public ValueQuantity() {
// do nothing
}

private String unit;

private String value;

/**
* The getter for the unit.
* <p>
* Represents the unit of measure.
*
* @return String
*/
public String getUnit() {
return unit;
}

/**
* The setter for the unit.
*
* @param unit String
*/
public void setUnit(String unit) {
this.unit = unit;
}

/**
* The getter for the value.
* <p>
* Represents the quantity.
*
* @return String
*/
public String getValue() {
return value;
}

/**
* The setter for the value.
*
* @param value String
*/
public void setValue(String value) {
this.value = value;
}
}