duke@1: /*
ohair@158: * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
duke@1: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@1: *
duke@1: * This code is free software; you can redistribute it and/or modify it
duke@1: * under the terms of the GNU General Public License version 2 only, as
ohair@158: * published by the Free Software Foundation. Oracle designates this
duke@1: * particular file as subject to the "Classpath" exception as provided
ohair@158: * by Oracle in the LICENSE file that accompanied this code.
duke@1: *
duke@1: * This code is distributed in the hope that it will be useful, but WITHOUT
duke@1: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@1: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@1: * version 2 for more details (a copy is included in the LICENSE file that
duke@1: * accompanied this code).
duke@1: *
duke@1: * You should have received a copy of the GNU General Public License version
duke@1: * 2 along with this work; if not, write to the Free Software Foundation,
duke@1: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@1: *
ohair@158: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@158: * or visit www.oracle.com if you need additional information or have any
ohair@158: * questions.
duke@1: */
duke@1: /*
duke@1: * File: ./org/omg/CORBA/ValueMember.java
duke@1: * From: ./ir.idl
duke@1: * Date: Fri Aug 28 16:03:31 1998
duke@1: * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
duke@1: */
duke@1:
duke@1: package org.omg.CORBA;
duke@1:
duke@1: /**
duke@1: * A description in the Interface Repository of
duke@1: * a member of a value
object.
duke@1: */
duke@1: public final class ValueMember implements org.omg.CORBA.portable.IDLEntity {
duke@1:
duke@1: // instance variables
duke@1:
duke@1: /**
duke@1: * The name of the value
member described by this
duke@1: * ValueMember
object.
duke@1: * @serial
duke@1: */
duke@1: public String name;
duke@1:
duke@1: /**
duke@1: * The repository ID of the value
member described by
duke@1: * this ValueMember
object;
duke@1: * @serial
duke@1: */
duke@1: public String id;
duke@1:
duke@1: /**
duke@1: * The repository ID of the value
in which this member
duke@1: * is defined.
duke@1: * @serial
duke@1: */
duke@1: public String defined_in;
duke@1:
duke@1: /**
duke@1: * The version of the value
in which this member is defined.
duke@1: * @serial
duke@1: */
duke@1: public String version;
duke@1:
duke@1: /**
duke@1: * The type of of this value
member.
duke@1: * @serial
duke@1: */
duke@1: public org.omg.CORBA.TypeCode type;
duke@1:
duke@1: /**
duke@1: * The typedef that represents the IDL type of the value
duke@1: * member described by this ValueMember
object.
duke@1: * @serial
duke@1: */
duke@1: public org.omg.CORBA.IDLType type_def;
duke@1:
duke@1: /**
duke@1: * The type of access (public, private) for the value
duke@1: * member described by this ValueMember
object.
duke@1: * @serial
duke@1: */
duke@1: public short access;
duke@1: // constructors
duke@1:
duke@1: /**
duke@1: * Constructs a default ValueMember
object.
duke@1: */
duke@1: public ValueMember() { }
duke@1:
duke@1: /**
duke@1: * Constructs a ValueMember
object initialized with
duke@1: * the given values.
duke@1: *
duke@1: *@param __name The name of the value
member described by this
duke@1: * ValueMember
object.
duke@1: *@param __id The repository ID of the value
member described by
duke@1: * this ValueMember
object;
duke@1: *@param __defined_in The repository ID of the value
in which this member
duke@1: * is defined.
duke@1: *@param __version The version of the value
in which this member is defined.
duke@1: *@param __type The type of of this value
member.
duke@1: *@param __type_def The typedef that represents the IDL type of the value
duke@1: * member described by this ValueMember
object.
duke@1: *@param __access The type of access (public, private) for the value
duke@1: * member described by this ValueMember
object.
duke@1: */
duke@1: public ValueMember(String __name, String __id, String __defined_in, String __version, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def, short __access) {
duke@1: name = __name;
duke@1: id = __id;
duke@1: defined_in = __defined_in;
duke@1: version = __version;
duke@1: type = __type;
duke@1: type_def = __type_def;
duke@1: access = __access;
duke@1: }
duke@1: }