PolicyListHolder.java revision 608:7e06bf1dcb09
10Sstevel@tonic-gate/*
20Sstevel@tonic-gate * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
30Sstevel@tonic-gate * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
40Sstevel@tonic-gate *
52522Sraf * This code is free software; you can redistribute it and/or modify it
62522Sraf * under the terms of the GNU General Public License version 2 only, as
70Sstevel@tonic-gate * published by the Free Software Foundation.  Oracle designates this
80Sstevel@tonic-gate * particular file as subject to the "Classpath" exception as provided
90Sstevel@tonic-gate * by Oracle in the LICENSE file that accompanied this code.
100Sstevel@tonic-gate *
110Sstevel@tonic-gate * This code is distributed in the hope that it will be useful, but WITHOUT
120Sstevel@tonic-gate * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
130Sstevel@tonic-gate * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
140Sstevel@tonic-gate * version 2 for more details (a copy is included in the LICENSE file that
150Sstevel@tonic-gate * accompanied this code).
160Sstevel@tonic-gate *
170Sstevel@tonic-gate * You should have received a copy of the GNU General Public License version
180Sstevel@tonic-gate * 2 along with this work; if not, write to the Free Software Foundation,
190Sstevel@tonic-gate * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
200Sstevel@tonic-gate *
2112210SJames.McPherson@Sun.COM * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
220Sstevel@tonic-gate * or visit www.oracle.com if you need additional information or have any
232522Sraf * questions.
240Sstevel@tonic-gate */
250Sstevel@tonic-gatepackage org.omg.CORBA;
260Sstevel@tonic-gate
270Sstevel@tonic-gate
280Sstevel@tonic-gate/**
290Sstevel@tonic-gate* The Holder for <tt>PolicyList</tt>.  For more information on
300Sstevel@tonic-gate* Holder files, see <a href="doc-files/generatedfiles.html#holder">
310Sstevel@tonic-gate* "Generated Files: Holder Files"</a>.<P>
320Sstevel@tonic-gate* org/omg/CORBA/PolicyListHolder.java
330Sstevel@tonic-gate* Generated by the IDL-to-Java compiler (portable), version "3.0"
340Sstevel@tonic-gate* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
352522Sraf* Saturday, July 17, 1999 12:26:21 AM PDT
362522Sraf*/
372522Sraf
382522Srafpublic final class PolicyListHolder implements org.omg.CORBA.portable.Streamable
392522Sraf{
402522Sraf  public org.omg.CORBA.Policy value[] = null;
412522Sraf
422522Sraf  public PolicyListHolder ()
432522Sraf  {
442522Sraf  }
452522Sraf
469569SRod.Evans@Sun.COM  public PolicyListHolder (org.omg.CORBA.Policy[] initialValue)
479569SRod.Evans@Sun.COM  {
489569SRod.Evans@Sun.COM    value = initialValue;
499569SRod.Evans@Sun.COM  }
502522Sraf
512522Sraf  public void _read (org.omg.CORBA.portable.InputStream i)
522522Sraf  {
532522Sraf    value = org.omg.CORBA.PolicyListHelper.read (i);
549569SRod.Evans@Sun.COM  }
559569SRod.Evans@Sun.COM
562522Sraf  public void _write (org.omg.CORBA.portable.OutputStream o)
570Sstevel@tonic-gate  {
580Sstevel@tonic-gate    org.omg.CORBA.PolicyListHelper.write (o, value);
590Sstevel@tonic-gate  }
600Sstevel@tonic-gate
610Sstevel@tonic-gate  public org.omg.CORBA.TypeCode _type ()
620Sstevel@tonic-gate  {
630Sstevel@tonic-gate    return org.omg.CORBA.PolicyListHelper.type ();
640Sstevel@tonic-gate  }
652522Sraf
660Sstevel@tonic-gate}
670Sstevel@tonic-gate