1. package org.omg.DynamicAny;
  2. /**
  3. * org/omg/DynamicAny/DynValueBoxOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/DynamicAny/DynamicAny.idl
  6. * Wednesday, September 15, 2004 10:28:50 AM GMT
  7. */
  8. /**
  9. * DynValueBox objects support the manipulation of IDL boxed value types.
  10. * The DynValueBox interface can represent both null and non-null value types.
  11. * For a DynValueBox representing a non-null value type, the DynValueBox has a single component
  12. * of the boxed type. A DynValueBox representing a null value type has no components
  13. * and a current position of -1.
  14. */
  15. public interface DynValueBoxOperations extends org.omg.DynamicAny.DynValueCommonOperations
  16. {
  17. /**
  18. * Returns the boxed value as an Any.
  19. *
  20. * @exception InvalidValue if this object represents a null value box type
  21. */
  22. org.omg.CORBA.Any get_boxed_value () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  23. /**
  24. * Replaces the boxed value with the specified value.
  25. * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
  26. *
  27. * @exception TypeMismatch if this object represents a non-null value box type and the type
  28. * of the parameter is not matching the current boxed value type.
  29. */
  30. void set_boxed_value (org.omg.CORBA.Any boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
  31. /**
  32. * Returns the boxed value as a DynAny.
  33. *
  34. * @exception InvalidValue if this object represents a null value box type
  35. */
  36. org.omg.DynamicAny.DynAny get_boxed_value_as_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  37. /**
  38. * Replaces the boxed value with the value contained in the parameter.
  39. * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value.
  40. *
  41. * @exception TypeMismatch if this object represents a non-null value box type and the type
  42. * of the parameter is not matching the current boxed value type.
  43. */
  44. void set_boxed_value_as_dyn_any (org.omg.DynamicAny.DynAny boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
  45. } // interface DynValueBoxOperations