synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CORBA.OperationDefHelper.id (), "OperationDef"); } return __typeCode; }
public static org.omg.CORBA.TypeCode type() { if(typeCode_ == null) { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); typeCode_ = orb.create_interface_tc(id(), "OperationDef"); } return typeCode_; }
public static org.omg.CORBA.OperationDef narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.OperationDef) return (org.omg.CORBA.OperationDef)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._OperationDefStub stub = new org.omg.CORBA._OperationDefStub (); stub._set_delegate(delegate); return stub; } }
public static OperationDef narrow(org.omg.CORBA.Object val) { if(val != null) { try { return (OperationDef)val; } catch(ClassCastException ex) { } if(val._is_a(id())) { org.omg.CORBA.portable.ObjectImpl _ob_impl; _OperationDefStub _ob_stub = new _OperationDefStub(); _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; }