1 package org.jacorb.test.orb.value; 2 3 import java.io.Serializable ; 4 5 import org.omg.CORBA.portable.ValueFactory ; 6 import org.omg.CORBA_2_3.portable.InputStream ; 7 8 public class RecordImpl extends Record implements ValueFactory  9 { 10 public RecordImpl() 11 { 12 super(); 13 } 14 15 public RecordImpl(int i, String text) 16 { 17 this.id = i; 18 this.text = text; 19 } 20 21 public Serializable read_value(InputStream is) 22 { 23 RecordImpl result = new RecordImpl(0, null); 24 return is.read_value(result); 25 } 26 27 } 28 | Popular Tags |