| java.lang.Object org.netbeans.modules.sql.framework.model.SQLObjectFactory
SQLObjectFactory | public class SQLObjectFactory (Code) | | Singleton object factory for SQL objects.
author: Ritesh Adval version: $Revision$ |
createObjectForTag | public static SQLObject createObjectForTag(String objTag) throws BaseException(Code) | | Creates a new SQLObject instance of the type represented by the given tag name.
Does not add the the vended SQLObject to a SQLDefinitionImpl instance. To correctly
associate the returned SQLObject instance with a SQLDefinitionImpl instance, the
calling method should call SQLDefinitionImpl.addSQLObject(SQLObject).
Parameters: objTag - objTag of object to create new SQLObject instance throws: BaseException - if error occurs during creation See Also: org.netbeans.modules.sql.framework.model.addSQLObject(SQLObject) |
createOperatorFromParsedList | public static SQLOperator createOperatorFromParsedList(String dbSpName, List args) throws BaseException(Code) | | Creates a SQLOperator instance of the given operator name and using the give List
of SQLObjects as argument inputs. This method should only be called from
SQLConditionParser.
Parameters: dbSpName - name of parsed DB operator to be created Parameters: args - List of SQLObjects representing parsed argument inputs |
createSQLObject | public static SQLObject createSQLObject(String className) throws BaseException(Code) | | Creates a new SQLObject instance of the given type. Does not add the the vended
SQLObject to a SQLDefinitionImpl instance. To correctly associate the returned
SQLObject instance with a SQLDefinitionImpl instance, the calling method should
call SQLDefinitionImpl.addSQLObject(SQLObject).
Parameters: className - className of object to create new SQLObject instance throws: BaseException - if error occurs during creation See Also: org.netbeans.modules.sql.framework.model.addSQLObject(SQLObject) |
|
|