org.omg.DynamicAny

Interface DynFixedOperations

public interface DynFixedOperations extends DynAnyOperations

Defines operations, applicable for DynAny, holding CORBA fixed. These operations take and return this data type in its string representation.
Method Summary
Stringget_value()
Get the value of the enclosed DynFixed, as string.
booleanset_value(String fixed_value)
Set the value of the enclosed DynFixed, from string.

Method Detail

get_value

public String get_value()
Get the value of the enclosed DynFixed, as string.

set_value

public boolean set_value(String fixed_value)
Set the value of the enclosed DynFixed, from string.

Parameters: fixed_value the value to set.

Returns: true if the passed value can be represented without the loss of precision, false if some fractional digits were truncated.

Throws: TypeMismatch if the passed string cannot be parsed into CORBA fixed. The valid string can only contain digits, decimal point and optional leading and trailing whitespace.