|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.domainvalue.basic.Country
@Deprecated public class Country
The cerx AD.Basic states that the country is a SC data type (meaning that the code is optional but the text description is always manadatory)
Code
can not model this type. In the future we may want to handle this type?
For now we are just using the text description directly and ignoring any iso3166-alpha2 code that may be present.
Field Summary | |
---|---|
static Country |
CANADA
Deprecated. Canada. |
static Country |
USA
Deprecated. United States. |
Constructor Summary | |
---|---|
Country(String code,
String name)
Deprecated. Constructs a Country using the supplied parameters. |
Method Summary | |
---|---|
String |
getCode()
Deprecated. Returns the country code. |
String |
getCodeSystem()
Deprecated. Returns the codesystem as an empty string. |
String |
getCodeValue()
Deprecated. Returns the code value. |
String |
getName()
Deprecated. Returns the name. |
static Country |
resolveCountry(String countryCode)
Deprecated. Returns the country applicable for the country code. |
static String |
resolveCountryCode(String countryName)
Deprecated. Returns the country applicable for the country name (Canada only!). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Country CANADA
Canada.
public static final Country USA
United States.
Constructor Detail |
---|
public Country(String code, String name)
Constructs a Country using the supplied parameters.
code
- a codename
- a nameMethod Detail |
---|
public String getCode()
Returns the country code.
public String getName()
Returns the name.
public String getCodeValue()
Returns the code value.
getCodeValue
in interface Code
public String getCodeSystem()
Returns the codesystem as an empty string.
getCodeSystem
in interface Code
public static Country resolveCountry(String countryCode)
Returns the country applicable for the country code.
countryCode
- the country code
public static String resolveCountryCode(String countryName)
Returns the country applicable for the country name (Canada only!).
countryName
- the country name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |