cast the passed object into the policy . if the object has a different java type , create an instance of the _ policystub , using the same delegate , as for the passed parameter . hence , unlike java type cast , this method may return a different object , than has been passed . concode_field_sep PlaceHolder placeHolder concode_field_sep Policy extract concode_elem_sep Policy read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write
Policy function ( org . omg . CORBA . Object arg0 ) { if ( arg0 == null ) return null ; else if ( arg0 instanceof Policy ) return ( Policy ) arg0 ; else { Delegate loc0 = ( ( ObjectImpl ) arg0 ) . _get_delegate ( ) ; return new _PolicyStub ( loc0 ) ; } }