public class Iso4217CurrencyCode extends ASN1Encodable 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) DEREncodable |
obj |
BER, DER| 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() |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodefinal int ALPHABETIC_MAXSIZE
final int NUMERIC_MINSIZE
final int NUMERIC_MAXSIZE
DEREncodable 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 DERObject toASN1Object()
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.