public interface Address extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addCustomField(String key,
String value)
Allows a single custom key-value pair to be added to an address.
|
String |
getAddressLastLine()
The address last line holds the the location level information (e.g.
|
String |
getAddressNumber()
Used to hold the house number information
|
String |
getAreaName1()
Used to represent the largest geographic division in an area, such as a state, province, or
region
|
String |
getAreaName2()
Used to represent the secondary geographic division in an area, such as a county or district.
|
String |
getAreaName3()
Used to represent the city or town name
|
String |
getAreaName4()
Represents the smallest geographic division in an area, such as a city subdivision or locality
|
String |
getCountry()
The country of the address.
|
Map<String,String> |
getCustomFields()
The custom fields hold String key-value pairs.
|
String |
getMainAddressLine()
The main address line is use to input a single line (e.g., "1 Global Vw, Troy NY 12180", or the
street line information (e.g., "1 Global Vw").
|
String |
getPlaceName()
Used to hold the name of a business, building, or location.
|
String |
getPostCode1()
Represents the main postal code.
|
String |
getPostCode2()
Represents the secondary postal code, if used.
|
String |
getStreetName()
Represents the street name, e.g., "West Main St".
|
String |
getUnitType()
Used to represent the unit type (such as "Apt" or "Suite") where appropriate
|
String |
getUnitValue()
Used to represent the unit value (e.g., "3B") where appropriate
|
void |
setAddressLastLine(String value)
The address last line is used to represent the location level information, e.g.
|
void |
setAddressNumber(String value)
Represents the house number information
|
void |
setAreaName1(String value)
Represents the largest geographic division in an area, such as a state, province, or region
|
void |
setAreaName2(String value)
Represents the secondary geographic division in an area, such as a county or district.
|
void |
setAreaName3(String value)
Represents the city or town name
|
void |
setAreaName4(String value)
Represents the smallest geographic division in an area, such as a city subdivision or locality
|
void |
setCountry(String value)
The country of the address.
|
void |
setCustomFields(Map<String,String> customFields)
Used to map of custom fields
|
void |
setMainAddressLine(String value)
The main address line is use to input a single line (e.g., "1 Global Vw, Troy NY 12180", or the
street line information (e.g., "1 Global Vw").
|
void |
setPlaceName(String value)
Used to represent the name of a business, building, or location.
|
void |
setPostCode1(String value)
Represents the main postal code.
|
void |
setPostCode2(String value)
Represents the secondary postal code, if used.
|
void |
setStreetName(String value)
Represents the street name, e.g., "West Main St".
|
void |
setUnitType(String value)
Used to represent the unit type (such as "Apt" or "Suite") where appropriate
|
void |
setUnitValue(String value)
Used to represent the unit value (e.g., "3B") where appropriate
|
String getMainAddressLine()
void setMainAddressLine(String value)
value
- String used to input single line, or street address line, or output street address
line in a Candidate.String getAddressLastLine()
void setAddressLastLine(String value)
value
- String used to represent the address last line information.String getPlaceName()
void setPlaceName(String value)
value
- String used to represent place name.String getAreaName1()
void setAreaName1(String value)
value
- String used to represent largest geographic division of a countryString getAreaName2()
void setAreaName2(String value)
value
- String used to represent secondary geographic division of a countryString getAreaName3()
void setAreaName3(String value)
value
- String used to represent city or town nameString getAreaName4()
void setAreaName4(String value)
value
- String used to represent smallest geographic division of a countryString getPostCode1()
void setPostCode1(String value)
value
- String used to represent main postal codeString getPostCode2()
void setPostCode2(String value)
value
- String used to represent main postal codeString getCountry()
void setCountry(String value)
value
- String used to represent countryString getAddressNumber()
void setAddressNumber(String value)
value
- String used to represent house numberString getStreetName()
void setStreetName(String value)
value
- String used to represent the street nameString getUnitType()
void setUnitType(String value)
value
- String used to represent the unit typeString getUnitValue()
void setUnitValue(String value)
value
- String used to represent the unit valueMap<String,String> getCustomFields()
void setCustomFields(Map<String,String> customFields)
customFields
- map of custom fieldsvoid addCustomField(String key, String value)
key
- this must be defined and understood by the target geocodervalue
- the value to be inputCopyright © 2024. All rights reserved.