| Package | Description |
|---|---|
| org.opensrp.api.domain |
| Modifier and Type | Method and Description |
|---|---|
Address |
Location.getAddress() |
Address |
Address.withAddressField(org.opensrp.common.AddressField field,
String value) |
Address |
Address.withAddressField(String field,
String value) |
Address |
Address.withAddressFields(Map<String,String> addressFields)
WARNING: Overrides all existing fields
|
Address |
Address.withAddressType(String addressType)
The type address represents
|
Address |
Address.withCountry(String country) |
Address |
Address.withEndDate(Date endDate)
The date when address was outdated or abandoned
|
Address |
Address.withLatitude(String latitude) |
Address |
Address.withLongitute(String longitute) |
Address |
Address.withPostalCode(String postalCode) |
Address |
Address.withStartDate(Date startDate)
The date when address was started or owned
|
Address |
Address.withState(String state) |
| Modifier and Type | Method and Description |
|---|---|
List<Address> |
BaseEntity.getAddresses() |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseEntity.addAddress(Address address) |
void |
Location.setAddress(Address address) |
Location |
Location.withAddress(Address address) |
BaseEntity |
BaseEntity.withAddress(Address address) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseEntity.setAddresses(List<Address> addresses)
WARNING: Overrides all existing addresses
|
BaseEntity |
BaseEntity.withAddresses(List<Address> addresses)
WARNING: Overrides all existing addresses
|
| Constructor and Description |
|---|
Location(String locationId,
String name,
Address address,
Location parentLocation) |
Location(String locationId,
String name,
Address address,
Map<String,String> identifiers,
Location parentLocation,
Set<String> tags,
Map<String,Object> attributes) |
| Constructor and Description |
|---|
BaseEntity(String baseEntityId,
Map<String,String> identifiers,
Map<String,Object> attributes,
List<Address> addresses) |
Client(String baseEntityId,
String firstName,
String middleName,
String lastName,
Date birthdate,
Date deathdate,
Boolean birthdateApprox,
Boolean deathdateApprox,
String gender,
List<Address> addresses,
Map<String,String> identifiers,
Map<String,Object> attributes) |
Copyright © 2018. All rights reserved.