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