public class Iso4217CurrencyCode extends ASN1Object implements ASN1Choice
Iso4217CurrencyCode ::= CHOICE {
alphabetic PrintableString (SIZE 3), --Recommended
numeric INTEGER (1..999) }
-- Alphabetic or numeric currency code as defined in ISO 4217
-- It is recommended that the Alphabetic form is used
| Constructor and Description |
|---|
Iso4217CurrencyCode(int numeric) |
Iso4217CurrencyCode(java.lang.String alphabetic) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlphabetic() |
static Iso4217CurrencyCode |
getInstance(java.lang.Object obj) |
int |
getNumeric() |
boolean |
isAlphabetic() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic Iso4217CurrencyCode(int numeric)
public Iso4217CurrencyCode(java.lang.String alphabetic)
public static Iso4217CurrencyCode getInstance(java.lang.Object obj)
public boolean isAlphabetic()
public java.lang.String getAlphabetic()
public int getNumeric()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object