org.omg.DynamicAny

Interface DynValueCommonOperations

public interface DynValueCommonOperations extends DynAnyOperations

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

Method Detail

is_null

public boolean is_null()
Check if this {@link DynAny} is holding the null.

Returns: true if this {@link DynAny} is holding the null, false otherwise.

set_to_null

public void set_to_null()
Set the value of this {@link DynAny} to CORBA null.

set_to_value

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