public void setOrInsertField(String pFieldName, Object pData, int pInd) { if (mFormat.containsField(pFieldName)) { set(pFieldName, pData); } else { insertField(pInd, pFieldName, pData); } }
public void setOrAppendField(String pFieldName, Object pData) { if (mFormat.containsField(pFieldName)) { set(pFieldName, pData); } else { appendField(pFieldName, pData); } }
public Object get(String pFieldName) { if (!(mFormat.containsField(pFieldName))) { throw new RuntimeException("No such field: " + pFieldName); } int fieldInd = mFormat.getFieldIndex(pFieldName); return get(fieldInd); }
public void set(String pFieldName, Object pVal) { if (!(mFormat.containsField(pFieldName))) { throw new RuntimeException("No such field: " + pFieldName); } int fieldInd = mFormat.getFieldIndex(pFieldName); set(fieldInd, pVal); }
public boolean containsField(String pFieldId) { return mFormat.containsField(pFieldId); }