Class Patient

java.lang.Object
com.compomics.util.experiment.patient.Patient

public class Patient
extends Object
This class groups the information about the patient from whom the sample is taken
Author:
Marc Vaudel
  • Constructor Details

    • Patient

      public Patient()
      Empty default constructor
    • Patient

      public Patient​(String id)
      Constructor,
      Parameters:
      id - the patient number
  • Method Details

    • getId

      public String getId()
      Returns the patient id,
      Returns:
      the patient id
    • addPatientInformation

      public void addPatientInformation​(PatientInformation patientInformation, Comparable value)
      Adds patient information,
      Parameters:
      patientInformation - the type of patient information to add
      value - the value
    • getPatientInformation

      public Comparable getPatientInformation​(PatientInformation patientInformation)
      Returns patient information,
      Parameters:
      patientInformation - the type of patient information desired
      Returns:
      the value for this patient. Null if not set.