Integrate hint from Teo Sarca -> BigDecimal for accesslevel
BUG ID 1617928 - Inefficient use of Boolean ctor for gen. model Pending generation of the whole model for next version
This commit is contained in:
parent
46f6f07ae0
commit
280a4e9b87
|
@ -190,7 +190,7 @@ public class GenerateModel
|
||||||
// + "protected static KeyNamePair Model = new KeyNamePair(").append(AD_Table_ID).append(",\"").append(tableName).append("\");\n"
|
// + "protected static KeyNamePair Model = new KeyNamePair(").append(AD_Table_ID).append(",\"").append(tableName).append("\");\n"
|
||||||
+ "protected static KeyNamePair Model = new KeyNamePair(Table_ID,\"").append(tableName).append("\");\n"
|
+ "protected static KeyNamePair Model = new KeyNamePair(Table_ID,\"").append(tableName).append("\");\n"
|
||||||
//
|
//
|
||||||
+ "protected BigDecimal accessLevel = new BigDecimal(").append(accessLevel).append(");"
|
+ "protected BigDecimal accessLevel = BigDecimal.valueOf(").append(accessLevel).append(");"
|
||||||
+ "/** AccessLevel\n@return ").append(accessLevelInfo).append("\n*/\n"
|
+ "/** AccessLevel\n@return ").append(accessLevelInfo).append("\n*/\n"
|
||||||
+ "protected int get_AccessLevel()"
|
+ "protected int get_AccessLevel()"
|
||||||
+ "{"
|
+ "{"
|
||||||
|
|
Loading…
Reference in New Issue