state.setName ( ((JIString)result[2]).getString () );
state.setName ( ((JIString)((JIPointer)result[2]).getReferent ()).getString () );
    public OPCGroupState getState () throws JIException    {        JICallObject callObject = new JICallObject ( _opcGroupStateMgt.getIpid (), true );        callObject.setOpnum ( 0 );                callObject.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Boolean.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsObject ( new JIString ( JIFlags.FLAG_REPRESENTATION_STRING_BSTR ), JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Float.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );        callObject.addOutParamAsType ( Integer.class, JIFlags.FLAG_NULL );                Object result [] = _opcGroupStateMgt.call ( callObject );                OPCGroupState state = new OPCGroupState ();        state.setUpdateRate ( (Integer)result[0] );        state.setActive ( (Boolean )result[1] );        state.setName ( ((JIString)result[2]).getString () );        state.setTimeBias ( (Integer) result[3] );        state.setPercentDeadband ( (Float)result[4] );        state.setLocaleID ( (Integer)result[5] );        state.setClientHandle ( (Integer)result[6] );        state.setServerHandle ( (Integer)result[7] );                return state;    }