The version in SVN has a couple new methods in ReverseEngineeringStrategy:
Code:
public Map columnToMetaAttributes(TableIdentifier identifier, String column)
public Map tableToMetaAttributes(TableIdentifier tableIdentifier)
You should be able to leverage columnToMetaAttributes to generate the include-in-to-string meta attribute for the apporpriate columns. e.g.
Code:
@Override
public Map columnToMetaAttributes(TableIdentifier identifier, String column) {
Map<String, MetaAttribute> metaAttributes = new HashMap<String, MetaAttribute>();
if ("DONT_WANT_THIS_IN_TOSTRING".equalsIgnoreCase(column) ||
"DONT_WANT_THIS_IN_TOSTRING_EITHER".equalsIgnoreCase(column) ||
"DEFINITELY_DONT_WANT_THIS_IN_TOSTRING".equalsIgnoreCase(column) ||
"NO_TO_STRING_FOR_YOU".equalsIgnoreCase(column)) {
MetaAttribute genProperty = new MetaAttribute("use-in-tostring");
genProperty.addValue("false");
metaAttributes.put("use-in-tostring", genProperty);
}
return metaAttributes;
}