- /*
- * @(#)NameHolder.java 1.9 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/CosNaming/NameHolder.java
- * From: nameservice.idl
- * Date: Tue Aug 11 03:12:09 1998
- * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
- */
-
- package org.omg.CosNaming;
- public final class NameHolder
- implements org.omg.CORBA.portable.Streamable
- {
- // instance variable
- public org.omg.CosNaming.NameComponent[] value;
- // constructors
- public NameHolder() {
- this(null);
- }
- public NameHolder(org.omg.CosNaming.NameComponent[] __arg) {
- value = __arg;
- }
- public void _write(org.omg.CORBA.portable.OutputStream out) {
- org.omg.CosNaming.NameHelper.write(out, value);
- }
-
- public void _read(org.omg.CORBA.portable.InputStream in) {
- value = org.omg.CosNaming.NameHelper.read(in);
- }
-
- public org.omg.CORBA.TypeCode _type() {
- return org.omg.CosNaming.NameHelper.type();
- }
- }