public class Area extends Object implements Serializable
| Constructor and Description |
|---|
Area() |
| Modifier and Type | Method and Description |
|---|---|
Area |
code(String code)
Code of the area.
|
boolean |
equals(Object o) |
String |
getCode() |
List<Municipality> |
getMunicipalities() |
List<LocalizedValue> |
getName() |
String |
getType() |
int |
hashCode() |
Area |
municipalities(List<Municipality> municipalities)
List of municipalities including municipality code and a localized list of municipality names.
|
Area |
name(List<LocalizedValue> name)
Localized list of names for the area
|
void |
setCode(String code) |
void |
setMunicipalities(List<Municipality> municipalities) |
void |
setName(List<LocalizedValue> name) |
void |
setType(String type) |
String |
toString() |
Area |
type(String type)
Type of the area (Municipality, Province, BusinessRegions, HospitalRegions).
|
public Area type(String type)
public String getType()
public void setType(String type)
public String getCode()
public void setCode(String code)
public Area name(List<LocalizedValue> name)
public List<LocalizedValue> getName()
public void setName(List<LocalizedValue> name)
public Area municipalities(List<Municipality> municipalities)
public List<Municipality> getMunicipalities()
public void setMunicipalities(List<Municipality> municipalities)
Copyright © 2019 Metatavu Oy. All rights reserved.