public class DomainObjectRenamingRule extends Object
For example, if some tables are named:
it might be annoying to have the generated domain name all containing the SYS prefix. This class can be used to remove the prefix by specifying
Note that internally, the generator uses the
java.util.regex.Matcher.replaceAll
method for this function. See
the documentation of that method for example of the regular expression
language used in Java.
Constructor and Description |
---|
DomainObjectRenamingRule() |
Modifier and Type | Method and Description |
---|---|
String |
getReplaceString() |
String |
getSearchString() |
void |
setReplaceString(String replaceString) |
void |
setSearchString(String searchString) |
void |
validate(List<String> errors,
String tableName) |
Copyright © 2006–2023 MyBatis.org. All rights reserved.