Country Class
- public class Country
extends Object
-
Hierarchy
-
Object
Country
Country
public Country()
addProvince(Province) Method
public void addProvince(Province
province)
getCurrency() Method
public Currency
getCurrency()
getEnglishLabel() Method
public String
getEnglishLabel()
getISOCode() Method
public Integer
getISOCode()
getProvince(String) Method
public Province
getProvince(String
province_info)
throws Exception
Exceptions
-
Exception
getThreeCharacterAbbreviation() Method
public String
getThreeCharacterAbbreviation()
getTwoCharacterAbbreviation() Method
public String
getTwoCharacterAbbreviation()
isCanada() Method
public boolean isCanada()
isUS() Method
public boolean isUS()
setCurrency(Currency) Method
public void setCurrency(Currency
curr)
setEnglishLabel(String) Method
public void setEnglishLabel(String
label)
setISOCode(int) Method
public void setISOCode(int code)
setThreeCharacterAbbreviation(String) Method
public void setThreeCharacterAbbreviation(String
abbr)
throws IllegalArgumentException
Exceptions
-
IllegalArgumentException
setTwoCharacterAbbreviation(String) Method
public void setTwoCharacterAbbreviation(String
abbr)
throws IllegalArgumentException
Exceptions
-
IllegalArgumentException
toString() Method
public String
toString()
-
Overrides
-
Object.toString()