| java.lang.Object org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject org.netbeans.modules.sql.framework.model.impl.SQLConnectableObjectImpl org.netbeans.modules.sql.framework.model.impl.SQLGenericOperatorImpl
All known Subclasses: org.netbeans.modules.sql.framework.model.impl.SQLCustomOperatorImpl, org.netbeans.modules.sql.framework.model.impl.SQLCastOperatorImpl,
Method Summary | |
public void | addInput(String argName, SQLObject newInput) | public Object | clone() | protected void | copyFrom(SQLGenericOperator op) | public boolean | equals(Object refObj) | public Object | getArgumentValue(String argName) | public String | getCustomOperatorName() | public String | getDisplayName() | public GUIInfo | getGUIInfo() Gets GUI-related attributes for this instance in the form of a GuiInfo instance. | public int | getJdbcType() Overrides default implementation to return JDBC type as specified by the operator
script. | public SQLOperatorDefinition | getOperatorDefinition() Get the script of this operator. | public String | getOperatorType() Gets canonical operator type, e.g., "concat", "tolowercase", etc.. | public IOperatorXmlInfo | getOperatorXmlInfo() | public boolean | hasVariableArgs() Indicates weather this operator has variable number of arguments. | public int | hashCode() | public boolean | isAggregateFunction() | public int | isCastable(String argName, SQLObject input) Determines if input referenced by the given argument name can received a link from
the given SQLObject without breaking type casting rules.
Parameters: argName - name of the operator input to which the source operator is beingconnected. Parameters: input - SQLObject to which input argument is being connected. | public boolean | isCustomOperator() | public int | isInputCompatible(String argName, SQLObject input) | public boolean | isInputStatic(String argName) | public boolean | isInputValid(String argName, SQLObject input) | public boolean | isShowParenthesis() | public void | parseXML(Element xmlElement) | public SQLObject | removeInputByArgName(String argName, SQLObject sqlObj) | public void | secondPassParse(Element element) | public void | setArgument(String argName, Object val) | public void | setArguments(List opArgs) | public void | setCustomOperator(boolean userFx) | public void | setCustomOperatorName(String userFxName) | public void | setDbSpecificOperator(String dbSpName) | public void | setOperatorType(String opName) sets canonical operator type, e.g., "concat", "tolowercase", etc.. | public void | setOperatorXmlInfo(IOperatorXmlInfo opInfo) Sets canonical operator type, obtaining configuration information from the operator
factory based on the given String param. | public void | setShowParenthesis(boolean show) | public String | toString() | public String | toXMLString(String prefix) Overrides parent implementation to append GUIInfo information. | public void | visit(SQLVisitor visitor) |
hasVariableArgs | protected boolean hasVariableArgs(Code) | | |
SQLGenericOperatorImpl | public SQLGenericOperatorImpl()(Code) | | Creates a new default instance of SQLGenericOperator
|
SQLGenericOperatorImpl | public SQLGenericOperatorImpl(SQLGenericOperator src) throws BaseException(Code) | | Creates a new default instance of SQLGenericOperator
Parameters: src - throws: com.sun.sql.framework.exception.BaseException - |
SQLGenericOperatorImpl | public SQLGenericOperatorImpl(String newName, String aType) throws BaseException(Code) | | Constructs a new instance of SQLGenericOperator with the given name and canonical
operator type.
Parameters: newName - for Operator Parameters: aType - for Operator throws: com.sun.sql.framework.exception.BaseException - |
getCustomOperatorName | public String getCustomOperatorName()(Code) | | |
getGUIInfo | public GUIInfo getGUIInfo()(Code) | | Gets GUI-related attributes for this instance in the form of a GuiInfo instance.
associated GuiInfo instance See Also: GUIInfo |
getJdbcType | public int getJdbcType()(Code) | | Overrides default implementation to return JDBC type as specified by the operator
script.
operator JDBC type |
getOperatorDefinition | public SQLOperatorDefinition getOperatorDefinition()(Code) | | Get the script of this operator.
Return script of this operator. |
getOperatorType | public String getOperatorType()(Code) | | Gets canonical operator type, e.g., "concat", "tolowercase", etc..
canonical operator name |
hasVariableArgs | public boolean hasVariableArgs()(Code) | | Indicates weather this operator has variable number of arguments.
true if operator has variable number of arguments; else, false. |
isAggregateFunction | public boolean isAggregateFunction()(Code) | | check if operator is an aggregate function
bool |
isCastable | public int isCastable(String argName, SQLObject input)(Code) | | Determines if input referenced by the given argument name can received a link from
the given SQLObject without breaking type casting rules.
Parameters: argName - name of the operator input to which the source operator is beingconnected. Parameters: input - SQLObject to which input argument is being connected. true if 'argName' can be connected to input, false otherwise |
isCustomOperator | public boolean isCustomOperator()(Code) | | |
isInputStatic | public boolean isInputStatic(String argName)(Code) | | |
isShowParenthesis | public boolean isShowParenthesis()(Code) | | check if open and close parenthesis should be used
bool |
parseXML | public void parseXML(Element xmlElement) throws BaseException(Code) | | Parameters: xmlElement - throws: com.sun.sql.framework.exception.BaseException - See Also: SQLObject.parseXML |
secondPassParse | public void secondPassParse(Element element) throws BaseException(Code) | | Second call parse
Parameters: element - to be parsed exception: BaseException - thrown while parsing |
setArguments | public void setArguments(List opArgs) throws BaseException(Code) | | |
setCustomOperator | public void setCustomOperator(boolean userFx)(Code) | | |
setCustomOperatorName | public void setCustomOperatorName(String userFxName)(Code) | | |
setDbSpecificOperator | public void setDbSpecificOperator(String dbSpName) throws BaseException(Code) | | |
setOperatorType | public void setOperatorType(String opName) throws BaseException(Code) | | sets canonical operator type, e.g., "concat", "tolowercase", etc..
Parameters: opName - canonical operator name |
setOperatorXmlInfo | public void setOperatorXmlInfo(IOperatorXmlInfo opInfo) throws BaseException(Code) | | Sets canonical operator type, obtaining configuration information from the operator
factory based on the given String param.
Parameters: opInfo - throws: com.sun.sql.framework.exception.BaseException - |
setShowParenthesis | public void setShowParenthesis(boolean show)(Code) | | set to true if parenthesis needs to be appended
Parameters: show - bool |
toXMLString | public String toXMLString(String prefix)(Code) | | Overrides parent implementation to append GUIInfo information.
Parameters: prefix - String to append to each new line of the XML representation XML representation of this SQLObject instance |
Fields inherited from org.netbeans.modules.sql.framework.model.impl.SQLConnectableObjectImpl | protected Map inputMap(Code)(Java Doc)
|
|
|