de.rowa.posps.client.data
Class PospsCountryCode

java.lang.Object
  extended by de.rowa.posps.client.data.PospsCountryCode

public class PospsCountryCode
extends java.lang.Object

Enumeration of country codes used for naming the country-specific types in the posps specification. In the specification, there are several types which can be extended with the data which applies to a single country. These types have an abstract base type the name of which ends with CountrySpecific. Concrete subtypes end with a country code of the country for which this type applies. These country codes are available with getCode().

Author:
Michael Koch

Field Summary
static PospsCountryCode GERMANY
          Posps country code for Germany.
static PospsCountryCode IBAN
          Special code for bank connection information in IBAN format.
 
Constructor Summary
PospsCountryCode(java.util.Locale locale)
          Creates a country code with the country taken from the locale.
 
Method Summary
 java.lang.String getCode()
          Returns the code string used for country-specific type names in the posps specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GERMANY

public static final PospsCountryCode GERMANY
Posps country code for Germany.


IBAN

public static final PospsCountryCode IBAN
Special code for bank connection information in IBAN format. This is not really a country code, but used the same way in the interface.

Constructor Detail

PospsCountryCode

public PospsCountryCode(java.util.Locale locale)
Creates a country code with the country taken from the locale.

Parameters:
locale - Locale from which the country information is taken.
Method Detail

getCode

public java.lang.String getCode()
Returns the code string used for country-specific type names in the posps specification.

Returns:
Code string used in the posps specificaiton for the selected country.


Copyright © 2007-2016 Becton Dickinson. All Rights Reserved.