JavaTM 2 Platform
Std. Ed. v1.4.0

org.omg.DynamicAny
Interface DynValueCommonOperations

All Superinterfaces:
DynAnyOperations
All Known Subinterfaces:
DynValue, DynValueBox, DynValueBoxOperations, DynValueCommon, DynValueOperations
All Known Implementing Classes:
_DynValueStub

public interface DynValueCommonOperations
extends DynAnyOperations

DynValueCommon provides operations supported by both the DynValue and DynValueBox interfaces.


Method Summary
 boolean is_null()
          Returns true if the DynValueCommon represents a null value type.
 void set_to_null()
          Changes the representation of a DynValueCommon to a null value type.
 void set_to_value()
          Replaces a null value type with a newly constructed value.
 
Methods inherited from interface org.omg.DynamicAny.DynAnyOperations
assign, component_count, copy, current_component, destroy, equal, from_any, get_any, get_boolean, get_char, get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, get_reference, get_short, get_string, get_typecode, get_ulong, get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any, insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float, insert_long, insert_longlong, insert_octet, insert_reference, insert_short, insert_string, insert_typecode, insert_ulong, insert_ulonglong, insert_ushort, insert_val, insert_wchar, insert_wstring, next, rewind, seek, to_any, type
 

Method Detail

is_null

public boolean is_null()
Returns true if the DynValueCommon represents a null value type.


set_to_null

public void set_to_null()
Changes the representation of a DynValueCommon to a null value type.


set_to_value

public void set_to_value()
Replaces a null value type with a newly constructed value. Its components are initialized to default values as in DynAnyFactory.create_dyn_any_from_type_code. If the DynValueCommon represents a non-null value type, then this operation has no effect.


JavaTM 2 Platform
Std. Ed. v1.4.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.