cast the passed object into the namingcontextext . if the object has a different java type , create an instance of the namingcontextext , using the same delegate , as for the passed parameter . hence this method may return a different object , than has been passed . concode_field_sep String _id concode_field_sep NamingContextExt extract concode_elem_sep NamingContextExt read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write concode_elem_sep NamingContextExt unchecked_narrow
NamingContextExt function ( org . omg . CORBA . Object arg0 ) { if ( arg0 == null ) return null ; else if ( arg0 instanceof NamingContextExt ) return ( NamingContextExt ) arg0 ; else if ( ! arg0 . _is_a ( id ( ) ) ) throw new BAD_PARAM ( ) ; else { Delegate loc0 = ( ( ObjectImpl ) arg0 ) . _get_delegate ( ) ; return new _NamingContextExtStub ( loc0 ) ; } }