Location

public class Location

Represents a single location. A location is a physical place where patients can be seen.

Constructors

Location

public Location()

Location

public Location(String uuid)

Creates a location with the given uuid.

Parameters:
  • uuid – the ID of the location

Location

public Location(String name, String country, String address6, String countyDistrict, String stateProvince)

Creates a location with the given name that is placed in the given country, address6, countryDistrict and stateProvince.

Parameters:
  • name – the name of the location
  • country – the name of the country where the location is placed
  • address6 – the name of the region where the location is placed
  • countyDistrict – the name of the county/district where the location is placed
  • stateProvince – the name of the state/province where the location is placed

Location

public Location(String uuid, String display, String name, String country, String address6, String countyDistrict, String stateProvince)

Creates a location with the given name, display and uuid that is placed in the given country, address6, countryDistrict and stateProvince.

Parameters:
  • uuid – the ID of the location
  • display – the display of the location
  • name – the name of the location
  • country – the name of the country where the location is placed
  • address6 – the name of the region where the location is placed
  • countyDistrict – the name of the county/district where the location is placed
  • stateProvince – the name of the state/province where the location is placed

Methods

equals

public boolean equals(Object o)

getAddress6

public String getAddress6()

getCountry

public String getCountry()

getCountyDistrict

public String getCountyDistrict()

getDescription

public String getDescription()

getDisplay

public String getDisplay()

getName

public String getName()

getStateProvince

public String getStateProvince()

getUuid

public String getUuid()

hashCode

public int hashCode()

setAddress6

public void setAddress6(String address6)

setCountry

public void setCountry(String country)

setCountyDistrict

public void setCountyDistrict(String countyDistrict)

setDescription

public void setDescription(String description)

setDisplay

public void setDisplay(String display)

setName

public void setName(String name)

setStateProvince

public void setStateProvince(String stateProvince)

setUuid

public void setUuid(String uuid)