public static org.omg.CORBA.ValueMemberDef unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.ValueMemberDef) return (org.omg.CORBA.ValueMemberDef)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._ValueMemberDefStub stub = new org.omg.CORBA._ValueMemberDefStub (); stub._set_delegate(delegate); return stub; } }
public static org.omg.CORBA.ValueMemberDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.ValueMemberDef) { return (org.omg.CORBA.ValueMemberDef)obj; } else { org.omg.CORBA._ValueMemberDefStub stub; stub = new org.omg.CORBA._ValueMemberDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
public static org.omg.CORBA.ValueMemberDef unchecked_narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.ValueMemberDef) { return (org.omg.CORBA.ValueMemberDef)obj; } else { org.omg.CORBA._ValueMemberDefStub stub; stub = new org.omg.CORBA._ValueMemberDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } } }
public static ValueMemberDef unchecked_narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ValueMemberDef)val; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ValueMemberDefStub _ob_stub = new _ValueMemberDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } return null; } }
public static ValueMemberDef read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Object _ob_v = in.read_Object(); try { return (ValueMemberDef)_ob_v; } catch(ClassCastException ex) { } org.omg.CORBA.portable.ObjectImpl _ob_impl; _ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v; _ValueMemberDefStub _ob_stub = new _ValueMemberDefStub(); _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; }
public static org.omg.CORBA.ValueMemberDef narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.ValueMemberDef) { return (org.omg.CORBA.ValueMemberDef)obj; } else if (obj._is_a("IDL:omg.org/CORBA/ValueMemberDef:1.0")) { org.omg.CORBA._ValueMemberDefStub stub; stub = new org.omg.CORBA._ValueMemberDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } else { throw new org.omg.CORBA.BAD_PARAM("Narrow failed"); } } public static org.omg.CORBA.ValueMemberDef unchecked_narrow(final org.omg.CORBA.Object obj)
public static org.omg.CORBA.ValueMemberDef narrow(final org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.omg.CORBA.ValueMemberDef) { return (org.omg.CORBA.ValueMemberDef)obj; } else if (obj._is_a("IDL:omg.org/CORBA/ValueMemberDef:1.0")) { org.omg.CORBA._ValueMemberDefStub stub; stub = new org.omg.CORBA._ValueMemberDefStub(); stub._set_delegate(((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate()); return stub; } else { throw new org.omg.CORBA.BAD_PARAM("Narrow failed"); } } public static org.omg.CORBA.ValueMemberDef unchecked_narrow(final org.omg.CORBA.Object obj)
public static org.omg.CORBA.ValueMemberDef narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.ValueMemberDef) return (org.omg.CORBA.ValueMemberDef)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 (); org.omg.CORBA._ValueMemberDefStub stub = new org.omg.CORBA._ValueMemberDefStub (); stub._set_delegate(delegate); return stub; } }
public static ValueMemberDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (ValueMemberDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _ValueMemberDefStub _ob_stub = new _ValueMemberDefStub(); _ob_impl = (org.omg.CORBA.portable.ObjectImpl)val; _ob_stub._set_delegate(_ob_impl._get_delegate()); return _ob_stub; } throw new org.omg.CORBA.BAD_PARAM(); } return null; }