We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Java attributes and methods are essential parts of HMIS development.
Attributes store information such as:
Methods are used to:
A simple HMIS-style example is:
private String patientCode;
private double total;
private boolean retired;
public String getPatientCode() {
return patientCode;
}
public void setPatientCode(String patientCode) {
this.patientCode = patientCode;
public double calculateNetTotal(double discount) {
return total - discount;
In this example: