public class CandidateRangeUnit extends Object implements GeoSerialize, Serializable
Constructor and Description |
---|
CandidateRangeUnit() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convertToMap()
Convert this object to a "map of maps" where each map is Map<String, Object>
|
Set<String> |
getCustomFieldKeys()
If the range has custom key-value pairs, returns the keys hat may be used to retrieve values
|
protected String |
getCustomFieldValue(AdditionalFieldKeys key) |
String |
getCustomFieldValue(String key)
Return an individual custom field value
|
Map<String,String> |
getCustomValues()
Returns a map of custom values.
|
String |
getFormattedAddress()
This returns the street and location information, correctly formatted for the country the
candidate is coming from.
|
String |
getHighUnitValue()
Returns the high unit number for this range unit
|
String |
getIdentifier()
Returns an identifier for this candidate.
|
String |
getLowUnitValue()
Returns the low unit number for this range unit
|
String |
getPlaceName()
This method will return the place name, which may be different that the one on the Candidate it
is associated with
|
String |
getUnitType()
Returns the type associated with this unit
|
void |
setFormattedAddress(String formattedAddress) |
void |
setHighUnitValue(String highUnitValue) |
void |
setIdentifier(String identifier) |
void |
setLowUnitValue(String lowUnitValue) |
void |
setPlaceName(String placeName) |
void |
setUnitType(String unitType) |
String |
toString() |
public String getPlaceName()
public void setPlaceName(String placeName)
public String getUnitType()
public void setUnitType(String unitType)
public String getLowUnitValue()
public void setLowUnitValue(String lowUnitValue)
public String getHighUnitValue()
public void setHighUnitValue(String highUnitValue)
public Map<String,String> getCustomValues()
public Set<String> getCustomFieldKeys()
public String getCustomFieldValue(String key)
key
- key of the custom fieldprotected String getCustomFieldValue(AdditionalFieldKeys key)
public String getFormattedAddress()
public void setFormattedAddress(String formattedAddress)
public String getIdentifier()
public void setIdentifier(String identifier)
public Map<String,Object> convertToMap()
convertToMap
in interface GeoSerialize
Copyright © 2024. All rights reserved.