public class MonetaryValue
extends com.objsys.asn1j.runtime.Asn1Type
| Modifier and Type | Field and Description |
|---|---|
com.objsys.asn1j.runtime.Asn1Integer |
amount |
Iso4217CurrencyCode |
currency |
com.objsys.asn1j.runtime.Asn1Integer |
exponent |
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString, z| Constructor and Description |
|---|
MonetaryValue() |
MonetaryValue(Iso4217CurrencyCode currency_,
com.objsys.asn1j.runtime.Asn1Integer amount_,
com.objsys.asn1j.runtime.Asn1Integer exponent_)
This constructor sets all elements to references to the
given objects
|
MonetaryValue(Iso4217CurrencyCode currency_,
long amount_,
long exponent_)
This constructor allows primitive data to be passed for all
primitive elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength) |
int |
encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit) |
void |
init() |
void |
print(java.io.PrintStream _out,
java.lang.String _varName,
int _level) |
public Iso4217CurrencyCode currency
public com.objsys.asn1j.runtime.Asn1Integer amount
public com.objsys.asn1j.runtime.Asn1Integer exponent
public MonetaryValue()
public MonetaryValue(Iso4217CurrencyCode currency_, com.objsys.asn1j.runtime.Asn1Integer amount_, com.objsys.asn1j.runtime.Asn1Integer exponent_)
public MonetaryValue(Iso4217CurrencyCode currency_, long amount_, long exponent_)
public void init()
public void decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
throws com.objsys.asn1j.runtime.Asn1Exception,
java.io.IOException
decode in interface com.objsys.asn1j.runtime.Asn1TypeIFdecode in class com.objsys.asn1j.runtime.Asn1Typecom.objsys.asn1j.runtime.Asn1Exceptionjava.io.IOExceptionpublic int encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit)
throws com.objsys.asn1j.runtime.Asn1Exception
encode in interface com.objsys.asn1j.runtime.Asn1TypeIFencode in class com.objsys.asn1j.runtime.Asn1Typecom.objsys.asn1j.runtime.Asn1Exceptionpublic void print(java.io.PrintStream _out,
java.lang.String _varName,
int _level)
print in interface com.objsys.asn1j.runtime.Asn1TypeIFprint in class com.objsys.asn1j.runtime.Asn1TypeCopyright © 2025. All rights reserved.