001    package org.omg.IOP;
002    
003    /**
004     * Generated from IDL struct "IOR".
005     *
006     * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
007     * @version generated at Sep 22, 2012 10:58:05 AM
008     */
009    
010    public final class IORHolder
011            implements org.omg.CORBA.portable.Streamable
012    {
013            public org.omg.IOP.IOR value;
014    
015            public IORHolder ()
016            {
017            }
018            public IORHolder(final org.omg.IOP.IOR initial)
019            {
020                    value = initial;
021            }
022            public org.omg.CORBA.TypeCode _type ()
023            {
024                    return org.omg.IOP.IORHelper.type ();
025            }
026            public void _read(final org.omg.CORBA.portable.InputStream _in)
027            {
028                    value = org.omg.IOP.IORHelper.read(_in);
029            }
030            public void _write(final org.omg.CORBA.portable.OutputStream _out)
031            {
032                    org.omg.IOP.IORHelper.write(_out, value);
033            }
034    }