/** Add a new column pair to the holder. * @param pair the pair to add * @throws ModelException if impossible */ public void addColumnPair (ColumnPairElement pair) throws ModelException { addColumnPairs(new ColumnPairElement[]{pair}); }
/** Add a new column pair to the holder. * @param pair the pair to add * @throws ModelException if impossible */ public void addColumnPair (ColumnPairElement pair) throws ModelException { addColumnPairs(new ColumnPairElement[]{pair}); }
/** Set the column pairs for this holder. * Previous column pairs are removed. * @param pairs the new column pairs * @throws ModelException if impossible */ public void setColumnPairs (ColumnPairElement[] pairs) throws ModelException { removeColumnPairs(getColumnPairNames()); // remove the old ones addColumnPairs(pairs); // add the new ones }
/** Set the column pairs for this holder. * Previous column pairs are removed. * @param pairs the new column pairs * @throws ModelException if impossible */ public void setColumnPairs (ColumnPairElement[] pairs) throws ModelException { removeColumnPairs(getColumnPairNames()); // remove the old ones addColumnPairs(pairs); // add the new ones }