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