| java.lang.Object org.netbeans.modules.sql.framework.model.utils.GeneratorUtil
GeneratorUtil | public class GeneratorUtil (Code) | | author: Ritesh Adval version: $Revision$ |
Method Summary | |
public String | getEvaluatedString(SQLObject sqlObj) Gets SQL expression (or fragment thereof) that can be generated from the given
SQLObject instance. | public static GeneratorUtil | getInstance() Gets an instance of GeneratorUtil. | public void | setColumnAliasUsed(boolean aliasUsed) Sets whether column alias should be used by the Generator or not, while evaluating
columns and tables. | public void | setTableAliasUsed(boolean aliasUsed) Sets whether table alias should be used by the Generator or not, while evaluating
columns and tables. |
getEvaluatedString | public String getEvaluatedString(SQLObject sqlObj)(Code) | | Gets SQL expression (or fragment thereof) that can be generated from the given
SQLObject instance.
Parameters: sqlObj - SQLObject instance from which SQL expression (or fragment) can begenerated generated SQL expression, or empty string if no expression could begenerated. |
getInstance | public static GeneratorUtil getInstance() throws BaseException(Code) | | Gets an instance of GeneratorUtil.
instance of GeneratorUtil |
setColumnAliasUsed | public void setColumnAliasUsed(boolean aliasUsed)(Code) | | Sets whether column alias should be used by the Generator or not, while evaluating
columns and tables.
Parameters: aliasUsed - boolean |
setTableAliasUsed | public void setTableAliasUsed(boolean aliasUsed)(Code) | | Sets whether table alias should be used by the Generator or not, while evaluating
columns and tables.
Parameters: aliasUsed - boolean |
|
|