@Override public String toString() { return "Column Group:\n\t name: " + name //$NON-NLS-1$ + "\n\t collapsed: " + collapsed //$NON-NLS-1$ + "\n\t unbreakable: " + unbreakable //$NON-NLS-1$ + "\n\t members: " + ObjectUtils.toString(members) + "\n" //$NON-NLS-1$ //$NON-NLS-2$ + "\n\t staticColumns: " + ObjectUtils.toString(staticColumnIndexes) + "\n"; //$NON-NLS-1$ //$NON-NLS-2$ }
public Object canonicalToDisplayValue(Object canonicalValue) { try { if (ObjectUtils.isNotNull(canonicalValue)) { return dateFormat.format(canonicalValue); } } catch (Exception e) { log.warn(e); } return canonicalValue; }
/** Convenience method to quickly get a new instance */ public static RowGroupDataFixture getInstance(String descrition, String rating) { return new RowGroupDataFixture( "US" + ObjectUtils.getRandomNumber(1000), descrition, rating, getRandomDate(), PRICING_MANUAL, 1.000, 10, 1000, true, 1.00, 1.01, -.01, 1000, 1000, 1000D); }