org.omg.DynamicAny


1. Creating and Initializing a DynamicAny

DynamicAny any = DynamicAnyFactory.factory.create_any();
any.insert_string("Hello, World!");

2. Getting the Any's Value

String value = any.get_string();

3. Setting the Any's Value to Null

any.insert_null();

4. Checking if the Any is Null

if (any.is_null()) {
    // Do something
}

5. Getting the Type of the Any's Value

TypeCode typeCode = any.type();

6. Getting the Type Name of the Any's Value

String typeName = any.type().name();

7. Copying a DynamicAny

DynamicAny copy = any.copy();

8. Destroying a DynamicAny

9. Creating a DynamicAny from a Java Object

10. Creating a DynamicAny from a TypeCode

11. Creating an Anonymous TypeCode

12. Creating a DynEnum

13. Getting the Enumerator Values

14. Getting the Base Type of a DynEnum

15. Creating a DynSequence

16. Getting the Element Type of a DynSequence

17. Creating a DynArray

18. Getting the Element Type of a DynArray

19. Creating a DynStruct

20. Getting the Member Names of a DynStruct

21. Creating a DynUnion

22. Getting the Selector Value of a DynUnion

23. Getting the Case of a DynUnion

24. Creating a DynAny

25. Converting an Ordinary TypeCode to an Anonymous TypeCode

26. Converting an Any to a DynAny

27. Converting a DynAny to an Any

28. Creating a DynArray from a TypeCode

29. Getting the Length of a DynArray

30. Getting an Element from a DynArray

31. Setting an Element in a DynArray

32. Getting the Member Count of a DynStruct

33. Getting a Member from a DynStruct

34. Setting a Member in a DynStruct

35. Getting the Selector Value of a DynUnion

36. Setting the Selector Value of a DynUnion

37. Getting the Case TypeCode of a DynUnion

38. Getting the Case Any of a DynUnion

39. Setting the Case Any of a DynUnion

40. Creating a DynValueBox

41. Getting the Any from a DynValueBox

42. Creating a Value from a TypeCode

43. Getting the TypeCode of a Value

44. Getting the Value of a Value

45. Setting the Value of a Value

46. Boxing and Unboxing Values

47. Converting a DynUnion to an Ordinary Union

48. Converting an Ordinary Union to a DynUnion

49. Converting a DynStruct to an Ordinary Struct

50. Converting an Ordinary Struct to a DynStruct