1 /*
   2  * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 /*
  26  * File: ./org/omg/CORBA/ValueMember.java
  27  * From: ./ir.idl
  28  * Date: Fri Aug 28 16:03:31 1998
  29  *   By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
  30  */
  31 
  32 package org.omg.CORBA;
  33 
  34 /**
  35  * A description in the Interface Repository of
  36  * a member of a <code>value</code> object.
  37  */
  38 public final class ValueMember implements org.omg.CORBA.portable.IDLEntity {
  39 
  40     //  instance variables
  41 
  42     /**
  43      * The name of the <code>value</code> member described by this
  44      * <code>ValueMember</code> object.
  45      * @serial
  46      */
  47     public String name;
  48 
  49     /**
  50      * The repository ID of the <code>value</code> member described by
  51      * this <code>ValueMember</code> object;
  52      * @serial
  53      */
  54     public String id;
  55 
  56     /**
  57      * The repository ID of the <code>value</code> in which this member
  58      * is defined.
  59      * @serial
  60      */
  61     public String defined_in;
  62 
  63     /**
  64      * The version of the <code>value</code> in which this member is defined.
  65      * @serial
  66      */
  67     public String version;
  68 
  69     /**
  70      * The type of of this <code>value</code> member.
  71      * @serial
  72      */
  73     public org.omg.CORBA.TypeCode type;
  74 
  75     /**
  76      * The typedef that represents the IDL type of the <code>value</code>
  77      * member described by this <code>ValueMember</code> object.
  78      * @serial
  79      */
  80     public org.omg.CORBA.IDLType type_def;
  81 
  82     /**
  83      * The type of access (public, private) for the <code>value</code>
  84      * member described by this <code>ValueMember</code> object.
  85      * @serial
  86      */
  87     public short access;
  88     //  constructors
  89 
  90     /**
  91      * Constructs a default <code>ValueMember</code> object.
  92      */
  93     public ValueMember() { }
  94 
  95     /**
  96      * Constructs a <code>ValueMember</code> object initialized with
  97      * the given values.
  98      *
  99      *@param __name The name of the <code>value</code> member described by this
 100      * <code>ValueMember</code> object.
 101      *@param __id The repository ID of the <code>value</code> member described by
 102      * this <code>ValueMember</code> object;
 103      *@param __defined_in The repository ID of the <code>value</code> in which this member
 104      * is defined.
 105      *@param __version The version of the <code>value</code> in which this member is defined.
 106      *@param __type The type of of this <code>value</code> member.
 107      *@param __type_def The typedef that represents the IDL type of the <code>value</code>
 108      * member described by this <code>ValueMember</code> object.
 109      *@param __access The type of access (public, private) for the <code>value</code>
 110      * member described by this <code>ValueMember</code> object.
 111      */
 112     public ValueMember(String __name, String __id, String __defined_in, String __version, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def, short __access) {
 113         name = __name;
 114         id = __id;
 115         defined_in = __defined_in;
 116         version = __version;
 117         type = __type;
 118         type_def = __type_def;
 119         access = __access;
 120     }
 121 }