1. /*
  2. * @(#)UnionMember.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/UnionMember.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 in the Interface Repository of a member of an IDL union.
  19. */
  20. public final class UnionMember implements org.omg.CORBA.portable.IDLEntity {
  21. // instance variables
  22. /**
  23. * The name of the union member described by this
  24. * <code>UnionMember</code> object.
  25. * @serial
  26. */
  27. public String name;
  28. /**
  29. * The label of the union member described by this
  30. * <code>UnionMember</code> object.
  31. * @serial
  32. */
  33. public org.omg.CORBA.Any label;
  34. /**
  35. * The type of the union member described by this
  36. * <code>UnionMember</code> object.
  37. * @serial
  38. */
  39. public org.omg.CORBA.TypeCode type;
  40. /**
  41. * The typedef that represents the IDL type of the union member described by this
  42. * <code>UnionMember</code> object.
  43. * @serial
  44. */
  45. public org.omg.CORBA.IDLType type_def;
  46. // constructors
  47. /**
  48. * Constructs a new <code>UnionMember</code> object with its fields initialized
  49. * to null.
  50. */
  51. public UnionMember() { }
  52. /**
  53. * Constructs a new <code>UnionMember</code> object with its fields initialized
  54. * to the given values.
  55. */
  56. public UnionMember(String __name, org.omg.CORBA.Any __label, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def) {
  57. name = __name;
  58. label = __label;
  59. type = __type;
  60. type_def = __type_def;
  61. }
  62. }