public class CountrySupport extends Object implements Serializable
Constructor and Description |
---|
CountrySupport()
Default constructor
|
CountrySupport(CountrySupport other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getSupportedCountries()
Returns the ISO-3166 3-character abbreviation for every country represented by this
dictionary's data.
|
Set<DataType> |
getSupportedDataTypes()
Returns a collection of DataType objects, which represent the types of data available in this
dictionary
|
int |
hashCode() |
void |
setSupportedCountries(Set<String> countries)
Sets the supported countries
|
void |
setSupportedDataTypes(Set<DataType> types)
Sets the data types
|
String |
toString() |
public CountrySupport()
public CountrySupport(CountrySupport other)
other
- another instance of CountrySupport that can be copied into this onepublic Set<String> getSupportedCountries()
public void setSupportedCountries(Set<String> countries)
countries
- supported countriespublic Set<DataType> getSupportedDataTypes()
public void setSupportedDataTypes(Set<DataType> types)
types
- supported data typesCopyright © 2024. All rights reserved.