int stop = locators.size(); for (int i = 0; i < stop; i++) { ((Locator) locators.get(i)).addAxis(fieldAxis); }
updateChildLocators(fieldAxis, "add");
  public FieldAxis addFieldAxis(FieldAxis fieldAxis) {    if (!canAddAxisObjToArray(fieldAxis))      return null;    if (getFieldAxis() !=null) {      List axisList = getAxisList();      axisList.remove(0);      axisList.add(0, fieldAxis);  //replace the old fieldAxis with the new one    }    else {  //add fieldAxis and increment dimension      getAxisList().add(0, fieldAxis);      getDataCube().incrementDimension(fieldAxis);    }    hasFieldAxis = true;    //update the locators that are related to this Array object    int stop = locators.size();     for (int i = 0; i < stop; i++) {       ((Locator) locators.get(i)).addAxis(fieldAxis);     }    //array doenst hold a dataformat anymore    //each field along the fieldAxis should have dataformat    setDataFormat(null);    return fieldAxis;  }