public class ResolvedMultipartLocation extends Object
MultipartLocationResolver
Container class representing a resolved multipart location name,
such as what's often found in structured data like a spreadsheet
or database table. The resolved names for the three components
(e.g., city, state, country) are stored as three
ResolvedLocation objects.| Constructor and Description |
|---|
ResolvedMultipartLocation(ResolvedLocation city,
ResolvedLocation state,
ResolvedLocation country)
Sole constructor for
ResolvedMultipartLocation class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests equivalence based on names of city, state, and country.
|
ResolvedLocation |
getCity()
Get the text of the city name.
|
ResolvedLocation |
getCountry()
Get the text of the country name.
|
ResolvedLocation |
getState()
Get the text of the state/province/etc.
|
int |
hashCode() |
String |
toString()
For pretty-printing.
|
public ResolvedMultipartLocation(ResolvedLocation city, ResolvedLocation state, ResolvedLocation country)
ResolvedMultipartLocation class.
Represents a resolved multipart location name, where the three
components (e.g., city, state, country) have been resolved to
three ResolvedLocation objects.city - ResolvedLocation for city namestate - ResolvedLocation for city/province/etc. namecountry - ResolvedLocation for country namepublic boolean equals(Object obj)
public String toString()
public ResolvedLocation getCity()
public ResolvedLocation getState()
public ResolvedLocation getCountry()
Copyright © 2012–2014 Berico Technologies. All rights reserved.