1 7 package org.omg.CORBA; 8 9 10 18 19 abstract public class SetOverrideTypeHelper 20 { 21 private static String _id = "IDL:omg.org/CORBA/SetOverrideType:1.0"; 22 23 public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.SetOverrideType that) 24 { 25 org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); 26 a.type (type ()); 27 write (out, that); 28 a.read_value (out.create_input_stream (), type ()); 29 } 30 31 public static org.omg.CORBA.SetOverrideType extract (org.omg.CORBA.Any a) 32 { 33 return read (a.create_input_stream ()); 34 } 35 36 private static org.omg.CORBA.TypeCode __typeCode = null; 37 synchronized public static org.omg.CORBA.TypeCode type () 38 { 39 if (__typeCode == null) 40 { 41 __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (org.omg.CORBA.SetOverrideTypeHelper.id (), "SetOverrideType", new String [] { "SET_OVERRIDE", "ADD_OVERRIDE"} ); 42 } 43 return __typeCode; 44 } 45 46 public static String id () 47 { 48 return _id; 49 } 50 51 public static org.omg.CORBA.SetOverrideType read (org.omg.CORBA.portable.InputStream istream) 52 { 53 return org.omg.CORBA.SetOverrideType.from_int (istream.read_long ()); 54 } 55 56 public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.SetOverrideType value) 57 { 58 ostream.write_long (value.value ()); 59 } 60 61 } 62 | Popular Tags |