getDataCube().setData(locator, strValue);
if (dataObj.getClass().isArray()) { if (dataObj instanceof int[] ) this.setData (locator, (int[])dataObj); else if (dataObj instanceof long[]) this.setData (locator, (long[])dataObj); else if (dataObj instanceof float[]) this.setData (locator, (float[])dataObj); else if (dataObj instanceof double[]) this.setData (locator, (double[])dataObj); else if (dataObj instanceof String[]) this.setData (locator, (String[])dataObj); else { String msg = "Data array: " + dataObj.getClass().getName() + " is not implemented"; Log.errorln(msg); throw new SetDataException (msg); } } else { if (dataObj instanceof Double ) this.setData (locator, (Double) dataObj); else if (dataObj instanceof Integer ) this.setData (locator, (Integer) dataObj); else { String msg = "Primiary data wrapper type: " + dataObj.getClass().getName() + " is not implemented"; Log.errorln(msg); throw new SetDataException (msg); } }
   public void setData (Locator locator, String strValue )    throws SetDataException    {         getDataCube().setData(locator, strValue);   }