public com.arjuna.ArjunaOTS.OTSAbstractRecord _this() { return com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.narrow(_this_object()); } public com.arjuna.ArjunaOTS.OTSAbstractRecord _this(org.omg.CORBA.ORB orb)
public void _read (final org.omg.CORBA.portable.InputStream in) { value = OTSAbstractRecordHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream _out)
public void _write (final org.omg.CORBA.portable.OutputStream _out) { OTSAbstractRecordHelper.write (_out,value); } }
public org.omg.CORBA.TypeCode _type() { return OTSAbstractRecordHelper.type(); } public void _read (final org.omg.CORBA.portable.InputStream in)
synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.id (), "OTSAbstractRecord"); } return __typeCode; }
private final OTSAbstractRecord otsRecord (AbstractRecord absRec) { /* * Is the abstract record an ExtendedResourceRecord ? */ OTSAbstractRecord resHandle = null; if ((absRec != null) && (absRec instanceof ExtendedResourceRecord)) { try { ExtendedResourceRecord theRecord = (ExtendedResourceRecord) absRec; ArjunaSubtranAwareResource theResource = theRecord.resourceHandle(); resHandle = com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.unchecked_narrow(theResource); theResource = null; } catch (Exception e) { jtsLogger.i18NLogger.warn_resources_errgenerr("ExtendedResourceRecord.otsRecord", e); } } return resHandle; }
public void _write (org.omg.CORBA.portable.OutputStream o) { com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.write (o, value); }
public org.omg.CORBA.TypeCode _type() { return OTSAbstractRecordHelper.type(); } public void _read (final org.omg.CORBA.portable.InputStream in)
public static com.arjuna.ArjunaOTS.OTSAbstractRecord narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof com.arjuna.ArjunaOTS.OTSAbstractRecord) return (com.arjuna.ArjunaOTS.OTSAbstractRecord)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); com.arjuna.ArjunaOTS._OTSAbstractRecordStub stub = new com.arjuna.ArjunaOTS._OTSAbstractRecordStub (); stub._set_delegate(delegate); return stub; } }
private final OTSAbstractRecord otsRecord () { try { if (_otsARHandle == null && _resourceHandle != null) { _otsARHandle = com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.unchecked_narrow(_resourceHandle); lastRecord = RecordType.LASTRESOURCE == _otsARHandle.type_id(); } if (_otsARHandle == null) throw new BAD_PARAM(); else return _otsARHandle; } catch (Exception e) { // we are not an OTSAbstractRecord return null; } }
public com.arjuna.ArjunaOTS.OTSAbstractRecord _this(org.omg.CORBA.ORB orb) { return com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.narrow(_this_object(orb)); } public OTSAbstractRecordOperations _delegate()
public void _write (final org.omg.CORBA.portable.OutputStream _out) { OTSAbstractRecordHelper.write (_out,value); } }
public void _read (final org.omg.CORBA.portable.InputStream in) { value = OTSAbstractRecordHelper.read (in); } public void _write (final org.omg.CORBA.portable.OutputStream _out)
public org.omg.CORBA.TypeCode _type () { return com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.type (); }
public static OTSAbstractRecord read(final org.omg.CORBA.portable.InputStream in) { return narrow(in.read_Object(com.arjuna.ArjunaOTS._OTSAbstractRecordStub.class)); } public static void write(final org.omg.CORBA.portable.OutputStream _out, final com.arjuna.ArjunaOTS.OTSAbstractRecord s)
com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.write(_os,record); _is = _invoke(_os); return;
public void _read (org.omg.CORBA.portable.InputStream i) { value = com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.read (i); }
public com.arjuna.ArjunaOTS.OTSAbstractRecord _this(org.omg.CORBA.ORB orb) { return com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.narrow(_this_object(orb)); } public OTSAbstractRecordOperations _delegate()
public void merge (com.arjuna.ArjunaOTS.OTSAbstractRecord record) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("merge", true); com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.write ($out, record); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { merge (record ); } finally { _releaseReply ($in); } } // merge