public DbDatum get_property(Database database, String name, String propname, boolean forced)
            throws DevFailed {
        int tmp_access = database.access;
        if (forced)
            database.access = TangoConst.ACCESS_WRITE;
        DbDatum datum;
        try {
            //	Format input parameters as string array
            //--------------------------------------------
            String[] array;
            array = new String[2];
            array[0] = name;
            array[1] = propname;

            //	Read Database
            //---------------------
            DeviceData argIn = new DeviceData();
            argIn.insert(array);
            DeviceData argOut = command_inout(database, "DbGetProperty", argIn);
            String[] result = argOut.extractStringArray();

            //	And convert to DbDatum array before returning
            datum = stringArray2DbDatum(result)[0];
            database.access = tmp_access;
        } catch (DevFailed e) {
            database.access = tmp_access;
            throw e;
        }
        return datum;
    }
public DbDatum get_property ( Database database , String name , String propname , boolean forced ) throws DevFailed { int tmp_access = database . access ; if ( forced ) database . access = TangoConst . ACCESS_WRITE ; DbDatum datum ; try { String [ ] array ; array = new String [ 2 ] ; array [ 0 ] = name ; array [ 1 ] = propname ; DeviceData argIn = new DeviceData ( ) ; argIn . insert ( array ) ; DeviceData argOut = command_inout ( database , "DbGetProperty" , argIn ) ; String [ ] result = argOut . extractStringArray ( ) ; datum = stringArray2DbDatum ( result ) [ 0 ] ; database . access = tmp_access ; } catch ( DevFailed e ) { database . access = tmp_access ; throw e ; } return datum ; }
==========================================================================