1. /*
  2. * @(#)ValueMember.java 1.17 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. /*
  8. * File: ./org/omg/CORBA/ValueMember.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 in the Interface Repository of
  16. * a member of a <code>value</code> object.
  17. */
  18. public final class ValueMember implements org.omg.CORBA.portable.IDLEntity {
  19. // instance variables
  20. /**
  21. * The name of the <code>value</code> member described by this
  22. * <code>ValueMember</code> object.
  23. * @serial
  24. */
  25. public String name;
  26. /**
  27. * The repository ID of the <code>value</code> member described by
  28. * this <code>ValueMember</code> object;
  29. * @serial
  30. */
  31. public String id;
  32. /**
  33. * The repository ID of the <code>value</code> in which this member
  34. * is defined.
  35. * @serial
  36. */
  37. public String defined_in;
  38. /**
  39. * The version of the <code>value</code> in which this member is defined.
  40. * @serial
  41. */
  42. public String version;
  43. /**
  44. * The type of of this <code>value</code> member.
  45. * @serial
  46. */
  47. public org.omg.CORBA.TypeCode type;
  48. /**
  49. * The typedef that represents the IDL type of the <code>value</code>
  50. * member described by this <code>ValueMember</code> object.
  51. * @serial
  52. */
  53. public org.omg.CORBA.IDLType type_def;
  54. /**
  55. * The type of access (public, private) for the <code>value</code>
  56. * member described by this <code>ValueMember</code> object.
  57. * @serial
  58. */
  59. public short access;
  60. // constructors
  61. /**
  62. * Constructs a default <code>ValueMember</code> object.
  63. */
  64. public ValueMember() { }
  65. /**
  66. * Constructs a <code>ValueMember</code> object initialized with
  67. * the given values.
  68. *
  69. *@param __name The name of the <code>value</code> member described by this
  70. * <code>ValueMember</code> object.
  71. *@param __id The repository ID of the <code>value</code> member described by
  72. * this <code>ValueMember</code> object;
  73. *@param __defined_in The repository ID of the <code>value</code> in which this member
  74. * is defined.
  75. *@param __version The version of the <code>value</code> in which this member is defined.
  76. *@param __type The type of of this <code>value</code> member.
  77. *@param __type_def The typedef that represents the IDL type of the <code>value</code>
  78. * member described by this <code>ValueMember</code> object.
  79. *@param __access The type of access (public, private) for the <code>value</code>
  80. * member described by this <code>ValueMember</code> object.
  81. */
  82. public ValueMember(String __name, String __id, String __defined_in, String __version, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def, short __access) {
  83. name = __name;
  84. id = __id;
  85. defined_in = __defined_in;
  86. version = __version;
  87. type = __type;
  88. type_def = __type_def;
  89. access = __access;
  90. }
  91. }