src/share/classes/org/omg/CORBA/package.html

Print this page




 327   {
 328     value = AccountHelper.read (i);
 329   }
 330 
 331   // writes value to o
 332   public void _write (org.omg.CORBA.portable.OutputStream o)
 333   {
 334     AccountHelper.write (o, value);
 335   }
 336  
 337   // returns the typecode for Account
 338   public org.omg.CORBA.TypeCode _type ()
 339   {
 340     return AccountHelper.type ();
 341   }
 342 
 343 }
 344 </PRE>
 345 
 346 <P>For more information on Holder classes, see Chapter 1.4, <em>Mapping for
 347 Basic Types</em> in the <a href="http://cgi.omg.org/cgi-bin/doc?ptc/00-01-08">
 348 <em>OMG IDL to Java Language Mapping</em></a>. The Holder classes defined 
 349 in the package <TT>org.omg.CORBA</TT> are:
 350 <PRE>
 351 &nbsp;&nbsp;&nbsp;&nbsp; <TT>AnyHolder
 352 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>AnySeqHolder
 353 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>BooleanHolder
 354 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>BooleanSeqHolder
 355 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>ByteHolder
 356 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CharHolder
 357 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CharSeqHolder
 358 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CurrentHolder
 359 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>DoubleHolder
 360 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>DoubleSeqHolder
 361 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FixedHolder
 362 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FloatHolder
 363 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FloatSeqHolder
 364 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>IntHolder
 365 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongHolder
 366 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongLongSeqHolder
 367 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongSeqHolder




 327   {
 328     value = AccountHelper.read (i);
 329   }
 330 
 331   // writes value to o
 332   public void _write (org.omg.CORBA.portable.OutputStream o)
 333   {
 334     AccountHelper.write (o, value);
 335   }
 336  
 337   // returns the typecode for Account
 338   public org.omg.CORBA.TypeCode _type ()
 339   {
 340     return AccountHelper.type ();
 341   }
 342 
 343 }
 344 </PRE>
 345 
 346 <P>For more information on Holder classes, see Chapter 1.4, <em>Mapping for
 347 Basic Types</em> in the <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">
 348 <em>OMG IDL to Java Language Mapping</em></a>. The Holder classes defined 
 349 in the package <TT>org.omg.CORBA</TT> are:
 350 <PRE>
 351 &nbsp;&nbsp;&nbsp;&nbsp; <TT>AnyHolder
 352 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>AnySeqHolder
 353 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>BooleanHolder
 354 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>BooleanSeqHolder
 355 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>ByteHolder
 356 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CharHolder
 357 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CharSeqHolder
 358 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>CurrentHolder
 359 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>DoubleHolder
 360 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>DoubleSeqHolder
 361 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FixedHolder
 362 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FloatHolder
 363 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>FloatSeqHolder
 364 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>IntHolder
 365 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongHolder
 366 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongLongSeqHolder
 367 </TT>&nbsp;&nbsp;&nbsp;&nbsp; <TT>LongSeqHolder