- /*
- * @(#)StructMember.java 1.15 00/02/02
- *
- * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * Use is subject to license terms.
- *
- */
- /*
- * File: ./org/omg/CORBA/StructMember.java
- * From: ./ir.idl
- * Date: Fri Aug 28 16:03:31 1998
- * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
- */
-
- package org.omg.CORBA;
-
- /**
- * A description of a member of an IDL <code>struct</code>.
- */
- public final class StructMember implements org.omg.CORBA.portable.IDLEntity {
-
- // instance variables
-
- /**
- * The name of the struct member described by
- * this <code>StructMember</code> object.
- * @serial
- */
- public String name;
-
- /**
- * The type of the struct member described by
- * this <code>StructMember</code> object.
- * @serial
- */
- public org.omg.CORBA.TypeCode type;
-
- /**
- * The typedef that represents the IDL type of the struct member described by
- * this <code>StructMember</code> object.
- * @serial
- */
- public org.omg.CORBA.IDLType type_def;
- // constructors
-
- /**
- * Constructs a default <code>StructMember</code> object.
- */
- public StructMember() { }
-
- /**
- * Constructs a <code>StructMember</code> object initialized with the
- * given values.
- */
- public StructMember(String __name, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def) {
- name = __name;
- type = __type;
- type_def = __type_def;
- }
- }