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
Modifier and Type | Field and Description |
---|---|
(package private) int |
ALPHABETIC_MAXSIZE |
(package private) int |
numeric |
(package private) int |
NUMERIC_MAXSIZE |
(package private) int |
NUMERIC_MINSIZE |
(package private) ASN1Encodable |
obj |
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, toASN1Object
final int ALPHABETIC_MAXSIZE
final int NUMERIC_MINSIZE
final int NUMERIC_MAXSIZE
ASN1Encodable obj
int numeric
public 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()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object