1. /*
  2. * @(#)StructMember.java 1.12 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. /*
  8. * File: ./org/omg/CORBA/StructMember.java
  9. * From: ./ir.idl
  10. * Date: Fri Aug 28 16:03:31 1998
  11. * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
  12. */
  13. package org.omg.CORBA;
  14. /**
  15. * A description of a member of an IDL <code>struct</code>.
  16. */
  17. public final class StructMember implements org.omg.CORBA.portable.IDLEntity {
  18. // instance variables
  19. /**
  20. * The name of the struct member described by
  21. * this <code>StructMember</code> object.
  22. * @serial
  23. */
  24. public String name;
  25. /**
  26. * The type of the struct member described by
  27. * this <code>StructMember</code> object.
  28. * @serial
  29. */
  30. public org.omg.CORBA.TypeCode type;
  31. /**
  32. * The typedef that represents the IDL type of the struct member described by
  33. * this <code>StructMember</code> object.
  34. * @serial
  35. */
  36. public org.omg.CORBA.IDLType type_def;
  37. // constructors
  38. /**
  39. * Constructs a default <code>StructMember</code> object.
  40. */
  41. public StructMember() { }
  42. /**
  43. * Constructs a <code>StructMember</code> object initialized with the
  44. * given values.
  45. */
  46. public StructMember(String __name, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def) {
  47. name = __name;
  48. type = __type;
  49. type_def = __type_def;
  50. }
  51. }