src/share/classes/org/omg/CORBA/StructMember.java

Tue, 25 Mar 2008 14:42:28 -0700

author
ohair
date
Tue, 25 Mar 2008 14:42:28 -0700
changeset 5
5e61d5df6258
parent 1
55540e827aef
child 158
91006f157c46
permissions
-rw-r--r--

6627817: Remove ^M characters in all files (Makefiles too)
Summary: Some files included the use of the ^M character, which has been deleted
Reviewed-by: xdono

     1 /*
     2  * Copyright 1997-2001 Sun Microsystems, Inc.  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.  Sun designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    22  * CA 95054 USA or visit www.sun.com if you need additional information or
    23  * have any questions.
    24  */
    25 /*
    26  * File: ./org/omg/CORBA/StructMember.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  */
    32 package org.omg.CORBA;
    34 /**
    35  * Describes a member of an IDL <code>struct</code> in the
    36  * Interface Repository, including
    37  * the  name of the <code>struct</code> member, the type of
    38  * the <code>struct</code> member, and
    39  * the typedef that represents the IDL type of the
    40  * <code>struct</code> member
    41  * described the <code>struct</code> member object.
    42  */
    43 public final class StructMember implements org.omg.CORBA.portable.IDLEntity {
    45     //  instance variables
    47     /**
    48      * The name of the struct member described by
    49      * this <code>StructMember</code> object.
    50      * @serial
    51      */
    52     public String name;
    54     /**
    55      * The type of the struct member described by
    56      * this <code>StructMember</code> object.
    57      * @serial
    58      */
    59     public org.omg.CORBA.TypeCode type;
    61     /**
    62      * The typedef that represents the IDL type of the struct member described by
    63      * this <code>StructMember</code> object.
    64      * @serial
    65      */
    66     public org.omg.CORBA.IDLType type_def;
    67     //  constructors
    69     /**
    70      * Constructs a default <code>StructMember</code> object.
    71      */
    72     public StructMember() { }
    74     /**
    75      * Constructs a <code>StructMember</code> object initialized with the
    76      * given values.
    77      * @param __name a <code>String</code> object with the name of the struct
    78      *        member
    79      * @param __type a <code>TypeCode</code> object describing the type of the struct
    80      *        member
    81      * @param __type_def an <code>IDLType</code> object representing the IDL type
    82      *        of the struct member
    83      */
    84     public StructMember(String __name, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def) {
    85         name = __name;
    86         type = __type;
    87         type_def = __type_def;
    88     }
    89 }

mercurial