org.omg.DynamicAny

Interface DynValueCommonOperations

public interface DynValueCommonOperations extends DynAnyOperations

Provides operations, applicable to DynAnys that may hold CORBA null.
Method Summary
booleanis_null()
Check if this DynAny is holding the null.
voidset_to_null()
Set the value of this DynAny to CORBA null.
voidset_to_value()
Set the value of this DynAny to the default non-null value.

Method Detail

is_null

public boolean is_null()
Check if this DynAny is holding the null.

Returns: true if this DynAny is holding the null, false otherwise.

set_to_null

public void set_to_null()
Set the value of this DynAny to CORBA null.

set_to_value

public void set_to_value()
Set the value of this DynAny to the default non-null value. The target DynAny creates a new data structure, intialised to the agreed default values, as defined in DynAnyFactoryOperations.