org.omg.CORBA

Interface DynFixed

public interface DynFixed extends DynAny

Deprecated: by {@link org.omg.DynamicAny.DynFixed}

Represents a CORBA fixed, allowing to get and set its value in the form of the binary representation. The format, described in CORBA specification, requires to store data in hexadecimal format, two digits per byte (oceted), most significant digit first. The last half-byte in the representation stores the sign, being 0xD for negative numbers and 0xC for zero and positive numbers. To have the even number of half bytes, 0x0 is appended to the beginning, if required. The position of the decimal point is not stored.

See Also: gnu.CORBA.BigDecimalHelper

Method Summary
byte[]get_value()
Get the value of this DynFixed in the binary form.
voidset_value(byte[] a_value)
Sets the value of this DynFixed from the binary representation.

Method Detail

get_value

public byte[] get_value()
Get the value of this DynFixed in the binary form.

Returns: the binary representation, defined in the header comment.

set_value

public void set_value(byte[] a_value)
Sets the value of this DynFixed from the binary representation.

Parameters: a_value the byte array, representing a CORBA fixed, as defined in the header comment.