Java Doc for SQLGenericOperatorImpl.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » model » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.model.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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,
SQLGenericOperatorImpl
public class SQLGenericOperatorImpl extends SQLConnectableObjectImpl implements SQLGenericOperator(Code)
Model for operators supported by SQLBuilder
author:
   Ritesh Adval, Sudhi Seshahcala
version:
   $Revision$


Field Summary
final static  StringLOG_CATEGORY
    
protected  booleanhasVariableArgs
    
protected  SQLOperatorDefinitionoperatorDefinition
    
protected  IOperatorXmlInfooperatorXmlInfo
    

Constructor Summary
public  SQLGenericOperatorImpl()
    
public  SQLGenericOperatorImpl(SQLGenericOperator src)
    
public  SQLGenericOperatorImpl(String newName, String aType)
     Constructs a new instance of SQLGenericOperator with the given name and canonical operator type.

Method Summary
public  voidaddInput(String argName, SQLObject newInput)
    
public  Objectclone()
    
protected  voidcopyFrom(SQLGenericOperator op)
    
public  booleanequals(Object refObj)
    
public  ObjectgetArgumentValue(String argName)
    
public  StringgetCustomOperatorName()
    
public  StringgetDisplayName()
    
public  GUIInfogetGUIInfo()
     Gets GUI-related attributes for this instance in the form of a GuiInfo instance.
public  intgetJdbcType()
     Overrides default implementation to return JDBC type as specified by the operator script.
public  SQLOperatorDefinitiongetOperatorDefinition()
     Get the script of this operator.
public  StringgetOperatorType()
     Gets canonical operator type, e.g., "concat", "tolowercase", etc..
public  IOperatorXmlInfogetOperatorXmlInfo()
    
public  booleanhasVariableArgs()
     Indicates weather this operator has variable number of arguments.
public  inthashCode()
    
public  booleanisAggregateFunction()
    
public  intisCastable(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  booleanisCustomOperator()
    
public  intisInputCompatible(String argName, SQLObject input)
    
public  booleanisInputStatic(String argName)
    
public  booleanisInputValid(String argName, SQLObject input)
    
public  booleanisShowParenthesis()
    
public  voidparseXML(Element xmlElement)
    
public  SQLObjectremoveInputByArgName(String argName, SQLObject sqlObj)
    
public  voidsecondPassParse(Element element)
    
public  voidsetArgument(String argName, Object val)
    
public  voidsetArguments(List opArgs)
    
public  voidsetCustomOperator(boolean userFx)
    
public  voidsetCustomOperatorName(String userFxName)
    
public  voidsetDbSpecificOperator(String dbSpName)
    
public  voidsetOperatorType(String opName)
     sets canonical operator type, e.g., "concat", "tolowercase", etc..
public  voidsetOperatorXmlInfo(IOperatorXmlInfo opInfo)
     Sets canonical operator type, obtaining configuration information from the operator factory based on the given String param.
public  voidsetShowParenthesis(boolean show)
    
public  StringtoString()
    
public  StringtoXMLString(String prefix)
     Overrides parent implementation to append GUIInfo information.
public  voidvisit(SQLVisitor visitor)
    

Field Detail
LOG_CATEGORY
final static String LOG_CATEGORY(Code)



hasVariableArgs
protected boolean hasVariableArgs(Code)



operatorDefinition
protected SQLOperatorDefinition operatorDefinition(Code)



operatorXmlInfo
protected IOperatorXmlInfo operatorXmlInfo(Code)




Constructor Detail
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 -




Method Detail
addInput
public void addInput(String argName, SQLObject newInput) throws BaseException(Code)

throws:
  com.sun.sql.framework.exception.BaseException -
See Also:   org.netbeans.modules.sql.framework.model.SQLConnectableObject.addInput



clone
public Object clone() throws CloneNotSupportedException(Code)



copyFrom
protected void copyFrom(SQLGenericOperator op) throws BaseException(Code)



equals
public boolean equals(Object refObj)(Code)

Parameters:
  refObj -
See Also:   java.lang.Object.equals



getArgumentValue
public Object getArgumentValue(String argName) throws BaseException(Code)



getCustomOperatorName
public String getCustomOperatorName()(Code)



getDisplayName
public String getDisplayName()(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



getOperatorXmlInfo
public IOperatorXmlInfo getOperatorXmlInfo()(Code)



hasVariableArgs
public boolean hasVariableArgs()(Code)
Indicates weather this operator has variable number of arguments. true if operator has variable number of arguments; else, false.



hashCode
public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



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)



isInputCompatible
public int isInputCompatible(String argName, SQLObject input)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLConnectableObject.isInputCompatible



isInputStatic
public boolean isInputStatic(String argName)(Code)



isInputValid
public boolean isInputValid(String argName, SQLObject input)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLConnectableObject.isInputValid



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



removeInputByArgName
public SQLObject removeInputByArgName(String argName, SQLObject sqlObj) throws BaseException(Code)



secondPassParse
public void secondPassParse(Element element) throws BaseException(Code)
Second call parse
Parameters:
  element - to be parsed
exception:
  BaseException - thrown while parsing



setArgument
public void setArgument(String argName, Object val) throws BaseException(Code)



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



toString
public String toString()(Code)



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



visit
public void visit(SQLVisitor visitor)(Code)



Fields inherited from org.netbeans.modules.sql.framework.model.impl.SQLConnectableObjectImpl
protected Map inputMap(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.SQLConnectableObjectImpl
public void addInput(String argName, SQLObject newInput) throws BaseException(Code)(Java Doc)
public void copyFromSource(SQLObject source)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public List getChildSQLObjects()(Code)(Java Doc)
protected List getColumnsUsed(SQLConnectableObject exp, int colType, List list)(Code)(Java Doc)
public SQLInputObject getInput(String argName)(Code)(Java Doc)
public Map getInputObjectMap()(Code)(Java Doc)
public ArrayList getPossibleTypes() throws BaseException(Code)(Java Doc)
public SQLObject getSQLObject(String argName)(Code)(Java Doc)
public Map getSQLObjectMap()(Code)(Java Doc)
public List getSourceColumnsUsed()(Code)(Java Doc)
public List getTargetColumnsUsed()(Code)(Java Doc)
protected boolean hasColumnOfType(SQLConnectableObject exp, int colType)(Code)(Java Doc)
public boolean hasSourceColumn()(Code)(Java Doc)
public boolean hasTargetColumn()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public int isInputCompatible(String argName, SQLObject input)(Code)(Java Doc)
public boolean isInputStatic(String argName)(Code)(Java Doc)
public boolean isInputValid(String argName, SQLObject input)(Code)(Java Doc)
public SQLObject removeInputByArgName(String argName, SQLObject sqlObj) throws BaseException(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public String toXMLString(String prefix) throws BaseException(Code)(Java Doc)
abstract public void visit(SQLVisitor visitor)(Code)(Java Doc)

Fields inherited from org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject
protected Map attributes(Code)(Java Doc)
protected transient String displayName(Code)(Java Doc)
protected transient String id(Code)(Java Doc)
protected transient String objectType(Code)(Java Doc)
protected transient Object parentObject(Code)(Java Doc)
protected int type(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.AbstractSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)(Java Doc)
public void copyFromSource(SQLObject source)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public Attribute getAttribute(String attrName)(Code)(Java Doc)
public Collection getAttributeNames()(Code)(Java Doc)
public Object getAttributeObject(String attrName)(Code)(Java Doc)
public List getChildSQLObjects()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public String getFooter()(Code)(Java Doc)
public String getHeader()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public int getJdbcType()(Code)(Java Doc)
public int getObjectType()(Code)(Java Doc)
public SQLObject getOutput(String argName) throws BaseException(Code)(Java Doc)
public Object getParentObject()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
protected void parseCommonAttributesAndTags(Element xmlElement) throws BaseException(Code)(Java Doc)
public void parseXML(Element xmlElement) throws BaseException(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void secondPassParse(Element element) throws BaseException(Code)(Java Doc)
public void setAttribute(String attrName, Object val)(Code)(Java Doc)
public void setDisplayName(String newName)(Code)(Java Doc)
public void setId(String newId) throws BaseException(Code)(Java Doc)
public void setJdbcType(int newType)(Code)(Java Doc)
public void setParentObject(Object newParent) throws BaseException(Code)(Java Doc)
protected String toXMLAttributeTags(String prefix)(Code)(Java Doc)
public String toXMLString(String prefix) throws BaseException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w___ww.j__av_a2___s__.__c___o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.