public class ColumnNameTransformer extends java.lang.Object implements ToStringVisitor.Transformer
Constructor and Description |
---|
ColumnNameTransformer(java.lang.String objectName,
java.util.Set<java.lang.String> validAttributes,
java.lang.String qualifier) |
public ColumnNameTransformer(java.lang.String objectName, java.util.Set<java.lang.String> validAttributes, java.lang.String qualifier)
objectName
- MBO Object namevalidAttributes
- Valid attributes for the given Object namequalifier
- optional qualifier to use as a prefix when converting the
fieldname into a table column namepublic java.lang.String transform(Node n)
ToStringVisitor.Transformer
transform
in interface ToStringVisitor.Transformer
n
- Node being transformed