1. /*
  2. * @(#)DynValue.java 1.8 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. public interface DynValue extends org.omg.CORBA.Object, org.omg.CORBA.DynAny {
  9. /**
  10. * Return the name of the current member while traversing a
  11. * <code>DynAny</code> which represents a Value object.
  12. *
  13. * @return the name of the current member.
  14. */
  15. String current_member_name();
  16. /**
  17. * Return the <code>TypeCode</code> kind of the current member.
  18. *
  19. * @return the <code>TCKind</code> corresponding to the current
  20. * member.
  21. */
  22. TCKind current_member_kind();
  23. /**
  24. * Return an array containing all the members of the value object
  25. * stored in this <code>DynValue</code>.
  26. *
  27. * @return an array of name-value pairs.
  28. */
  29. org.omg.CORBA.NameValuePair[] get_members();
  30. /**
  31. * Set the members of a value object this <code>DynValue</code>
  32. * represents.
  33. *
  34. * @param value the array of name-value pairs.
  35. */
  36. void set_members(NameValuePair[] value)
  37. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  38. }