KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > PolicyHolder


1 /*
2  * @(#)PolicyHolder.java 1.9 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package org.omg.CORBA;
8
9 /**
10 * The Holder for <tt>Policy</tt>. For more information on
11 * Holder files, see <a HREF="doc-files/generatedfiles.html#holder">
12 * "Generated Files: Holder Files"</a>.<P>
13 * org/omg/CORBA/PolicyHolder.java
14 * Generated by the IDL-to-Java compiler (portable), version "3.0"
15 * from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
16 * Saturday, July 17, 1999 12:26:20 AM PDT
17 */

18
19 public final class PolicyHolder implements org.omg.CORBA.portable.Streamable JavaDoc
20 {
21   public org.omg.CORBA.Policy JavaDoc value = null;
22
23   public PolicyHolder ()
24   {
25   }
26
27   public PolicyHolder (org.omg.CORBA.Policy JavaDoc initialValue)
28   {
29     value = initialValue;
30   }
31
32   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
33   {
34     value = org.omg.CORBA.PolicyHelper.read (i);
35   }
36
37   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
38   {
39     org.omg.CORBA.PolicyHelper.write (o, value);
40   }
41
42   public org.omg.CORBA.TypeCode JavaDoc _type ()
43   {
44     return org.omg.CORBA.PolicyHelper.type ();
45   }
46
47 }
48
Popular Tags