KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > ValueMember


1 /*
2  * @(#)ValueMember.java 1.18 03/12/19
3  *
4  * Copyright 2004 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
14 package org.omg.CORBA;
15
16 /**
17  * A description in the Interface Repository of
18  * a member of a <code>value</code> object.
19  */

20 public final class ValueMember implements org.omg.CORBA.portable.IDLEntity JavaDoc {
21
22     // instance variables
23

24     /**
25      * The name of the <code>value</code> member described by this
26      * <code>ValueMember</code> object.
27      * @serial
28      */

29     public String JavaDoc name;
30
31     /**
32      * The repository ID of the <code>value</code> member described by
33      * this <code>ValueMember</code> object;
34      * @serial
35      */

36     public String JavaDoc id;
37
38     /**
39      * The repository ID of the <code>value</code> in which this member
40      * is defined.
41      * @serial
42      */

43     public String JavaDoc defined_in;
44
45     /**
46      * The version of the <code>value</code> in which this member is defined.
47      * @serial
48      */

49     public String JavaDoc version;
50
51     /**
52      * The type of of this <code>value</code> member.
53      * @serial
54      */

55     public org.omg.CORBA.TypeCode JavaDoc type;
56
57     /**
58      * The typedef that represents the IDL type of the <code>value</code>
59      * member described by this <code>ValueMember</code> object.
60      * @serial
61      */

62     public org.omg.CORBA.IDLType JavaDoc type_def;
63
64     /**
65      * The type of access (public, private) for the <code>value</code>
66      * member described by this <code>ValueMember</code> object.
67      * @serial
68      */

69     public short access;
70     // constructors
71

72     /**
73      * Constructs a default <code>ValueMember</code> object.
74      */

75     public ValueMember() { }
76
77     /**
78      * Constructs a <code>ValueMember</code> object initialized with
79      * the given values.
80      *
81      *@param __name The name of the <code>value</code> member described by this
82      * <code>ValueMember</code> object.
83      *@param __id The repository ID of the <code>value</code> member described by
84      * this <code>ValueMember</code> object;
85      *@param __defined_in The repository ID of the <code>value</code> in which this member
86      * is defined.
87      *@param __version The version of the <code>value</code> in which this member is defined.
88      *@param __type The type of of this <code>value</code> member.
89      *@param __type_def The typedef that represents the IDL type of the <code>value</code>
90      * member described by this <code>ValueMember</code> object.
91      *@param __access The type of access (public, private) for the <code>value</code>
92      * member described by this <code>ValueMember</code> object.
93      */

94     public ValueMember(String JavaDoc __name, String JavaDoc __id, String JavaDoc __defined_in, String JavaDoc __version, org.omg.CORBA.TypeCode JavaDoc __type, org.omg.CORBA.IDLType JavaDoc __type_def, short __access) {
95     name = __name;
96     id = __id;
97     defined_in = __defined_in;
98     version = __version;
99     type = __type;
100     type_def = __type_def;
101     access = __access;
102     }
103 }
104
Popular Tags