1. /*
  2. * @(#)DynStruct.java 1.14 04/05/18
  3. *
  4. * Copyright 2004 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. * @deprecated Use the new <a href="../DynamicAny/DynStruct.html">DynStruct</a> instead
  12. */
  13. @Deprecated
  14. public interface DynStruct extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  15. {
  16. /**
  17. * During a traversal, returns the name of the current member.
  18. *
  19. * @return the string name of the current member
  20. */
  21. public String current_member_name();
  22. /**
  23. * Returns the <code>TCKind</code> object that describes the kind of
  24. * the current member.
  25. *
  26. * @return the <code>TCKind</code> object that describes the current member
  27. */
  28. public org.omg.CORBA.TCKind current_member_kind();
  29. /**
  30. * Returns an array containing all the members of the stored struct.
  31. *
  32. * @return the array of name-value pairs
  33. * @see #set_members
  34. */
  35. public org.omg.CORBA.NameValuePair[] get_members();
  36. /**
  37. * Set the members of the struct.
  38. *
  39. * @param value the array of name-value pairs.
  40. * @throws org.omg.CORBA.DynAnyPackage.InvalidSeq if the given argument
  41. * is invalid
  42. * @see #get_members
  43. */
  44. public void set_members(org.omg.CORBA.NameValuePair[] value)
  45. throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
  46. }