public class SqlBuilder extends Object implements MessageSource
Constructor and Description |
---|
SqlBuilder(SqlDdl sqlddl,
ShapeChangeResult result,
Options options,
Model model,
SqlNamingScheme namingScheme) |
Modifier and Type | Method and Description |
---|---|
Integer |
getSizeForCharacterValuedProperty(PropertyInfo pi) |
boolean |
isForeignKeyField(PropertyInfo pi) |
String |
message(int mnr)
Return a message for a message number.
|
List<Statement> |
process(List<ClassInfo> cisToProcess) |
public SqlBuilder(SqlDdl sqlddl, ShapeChangeResult result, Options options, Model model, SqlNamingScheme namingScheme)
public Integer getSizeForCharacterValuedProperty(PropertyInfo pi)
pi
- property, may be null
null
if the property is not character valued or has
no specific size setpublic boolean isForeignKeyField(PropertyInfo pi)
public String message(int mnr)
MessageSource
message
in interface MessageSource
MessageSource.message(int)
Copyright © 2018. All rights reserved.