1. /*
  2. * @(#)DynStruct.java 1.5 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. /** The DynStruct interface represents a DynAny object which is associated
  9. * with an IDL struct.
  10. */
  11. public interface DynStruct extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  12. {
  13. /**
  14. * During a traversal, return the name of the current member.
  15. *
  16. * @return the string name of the current member.
  17. */
  18. public String current_member_name();
  19. /**
  20. * Return the <code>TypeCode</code> kind of the current member.
  21. *
  22. * @return the TCKind.
  23. */
  24. public org.omg.CORBA.TCKind current_member_kind();
  25. /**
  26. * Return an array of all members of the stored struct.
  27. *
  28. * @return the array of name-value pairs.
  29. */
  30. public org.omg.CORBA.NameValuePair[] get_members();
  31. /**
  32. * Set the members of the struct.
  33. *
  34. * @param value the array of name-value pairs.
  35. */
  36. public void set_members(org.omg.CORBA.NameValuePair[] value)
  37. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  38. }