org.omg.DynamicAny

Interface DynValueCommon

public interface DynValueCommon extends DynValueCommonOperations, DynAny, IDLEntity, Object, Serializable

Defines DynAny that may hold CORBA null. The DynValueCommonOperations provides methods for setting the value to null or non-null and checking if the value is 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.