1. /*
  2. * @(#)DynStruct.java 1.11 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /**
  9. * The representation of a <code>DynAny</code> object that is associated
  10. * with an IDL struct.
  11. */
  12. public interface DynStruct extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  13. {
  14. /**
  15. * During a traversal, returns the name of the current member.
  16. *
  17. * @return the string name of the current member
  18. */
  19. public String current_member_name();
  20. /**
  21. * Returns the <code>TCKind</code> object that describes the kind of
  22. * the current member.
  23. *
  24. * @return the <code>TCKind</code> object that describes the current member
  25. */
  26. public org.omg.CORBA.TCKind current_member_kind();
  27. /**
  28. * Returns an array containing all the members of the stored struct.
  29. *
  30. * @return the array of name-value pairs
  31. * @see #set_members
  32. */
  33. public org.omg.CORBA.NameValuePair[] get_members();
  34. /**
  35. * Set the members of the struct.
  36. *
  37. * @param value the array of name-value pairs.
  38. * @throws org.omg.CORBA.DynAnyPackage.InvalidSeq if the given argument
  39. * is invalid
  40. * @see #get_members
  41. */
  42. public void set_members(org.omg.CORBA.NameValuePair[] value)
  43. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  44. }