Java Doc for OperatorInstance.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » codegen » 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.codegen 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.sql.framework.codegen.OperatorInstance

OperatorInstance
public class OperatorInstance implements SQLOperatorDefinition(Code)
Holds an Operator Instance: Modified from a static inner class to a public class as the usage of this class has changed. Its no longer a holder for the operator definition templates but also to represent the custom operator instances.
author:
   Jonathan Giron
author:
   Ahimanikya Satapathy



Constructor Summary
public  OperatorInstance()
     Constructs a default instance of OperatorInstance.
public  OperatorInstance(String newName)
     Constructs a new instance of OperatorInstance with the given operator name.

Method Summary
public  booleanaddArg(SQLOperatorArg operatorArg)
    
public  booleanaddOutputType(String outputType)
    
public  Objectclone(List operatorArgs)
    
public  ListgetArg2Use()
    
public  intgetArgCount()
     Get the number of input arguments defined in the script.
public  intgetArgCountType()
     Indicates if this operator can take a variable number of input arguments.
public  intgetArgIndex(String argName)
    
public  intgetArgJdbcSQLType(int i)
    
public  intgetArgJdbcSQLType(String argName)
    
public  ListgetArgList()
    
public  StringgetArgType(int i)
    
public  AttributegetAttribute(String attrName)
     Gets an attribute based on its name.
public  ObjectgetAttributeValue(String attrName)
    
public  StringgetDbSpecficName()
    
public  StringgetGuiName()
    
public  SQLOperatorArggetOperatorArg(int index)
    
public  StringgetOperatorCategoryType()
    
public  StringgetOperatorName()
    
public  intgetOutputJdbcSQLType()
    
public  StringgetRange(String argName)
     Gets the range based on argname.
public  StringgetScript()
    
public  StringgetVarOperatorArgName()
    
public  voidparseXML(Element defnElement)
    
public  voidsetArgList(List<SQLOperatorArg> args)
    
public  voidsetOperatorName(String anOperatorName)
    
public  voidsetOutputJdbcSQLType(int i)
    
public  voidsetOutputJdbcSQLType(String jdbcType)
    
public  voidsetScript(String aScript)
    


Constructor Detail
OperatorInstance
public OperatorInstance()(Code)
Constructs a default instance of OperatorInstance.



OperatorInstance
public OperatorInstance(String newName)(Code)
Constructs a new instance of OperatorInstance with the given operator name.
Parameters:
  newName - operator name




Method Detail
addArg
public boolean addArg(SQLOperatorArg operatorArg)(Code)

See Also:   SQLOperatorDefinition.addArg



addOutputType
public boolean addOutputType(String outputType)(Code)

See Also:   SQLOperatorDefinition.addOutputType



clone
public Object clone(List operatorArgs)(Code)



getArg2Use
public List getArg2Use()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLOperatorDefinition.getArg2Use



getArgCount
public int getArgCount()(Code)
Get the number of input arguments defined in the script. If the operator script defines an operator with variable number of arguments then we allow a maximum of 100 input arguments. maximum number of arguments this operator can support.



getArgCountType
public int getArgCountType()(Code)
Indicates if this operator can take a variable number of input arguments. flag indicating weather this operator takes variable number of inputarguments.



getArgIndex
public int getArgIndex(String argName)(Code)

See Also:   SQLOperatorDefinition.getArgIndex(java.lang.String)



getArgJdbcSQLType
public int getArgJdbcSQLType(int i)(Code)

See Also:   SQLOperatorDefinition.getArgJdbcSQLType(int)



getArgJdbcSQLType
public int getArgJdbcSQLType(String argName)(Code)

See Also:   SQLOperatorDefinition.getArgJdbcSQLType(java.lang.String)



getArgList
public List getArgList()(Code)

See Also:   SQLOperatorDefinition.getArgList



getArgType
public String getArgType(int i)(Code)

See Also:   SQLOperatorDefinition.getArgType(int)



getAttribute
public Attribute getAttribute(String attrName)(Code)
Gets an attribute based on its name.
Parameters:
  attrName - attribute Name Attribute instance associated with attrName, or null if none exists



getAttributeValue
public Object getAttributeValue(String attrName)(Code)

See Also:   SQLObject.getAttributeObject



getDbSpecficName
public String getDbSpecficName()(Code)
Get DB-specific name DB-specific name



getGuiName
public String getGuiName()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLOperatorDefinition.getGuiName



getOperatorArg
public SQLOperatorArg getOperatorArg(int index)(Code)

See Also:   SQLOperatorDefinition.getOperatorArg



getOperatorCategoryType
public String getOperatorCategoryType()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SQLOperatorDefinition.getOperatorCategoryType



getOperatorName
public String getOperatorName()(Code)

See Also:   SQLOperatorDefinition.getOperatorName



getOutputJdbcSQLType
public int getOutputJdbcSQLType()(Code)

See Also:   SQLOperatorDefinition.getOutputJdbcSQLType



getRange
public String getRange(String argName)(Code)
Gets the range based on argname.
Parameters:
  argName - for which range is returned String for range



getScript
public String getScript()(Code)

See Also:   SQLOperatorDefinition.getScript



getVarOperatorArgName
public String getVarOperatorArgName()(Code)

See Also:   SQLOperatorDefinition.getVarOperatorArgName



parseXML
public void parseXML(Element defnElement) throws BaseException(Code)

See Also:   SQLOperatorDefinition.parseXML(org.w3c.dom.Element)



setArgList
public void setArgList(List<SQLOperatorArg> args)(Code)

See Also:   SQLOperatorDefinition.setArgList(List)



setOperatorName
public void setOperatorName(String anOperatorName)(Code)

See Also:   SQLOperatorDefinition.getOperatorName



setOutputJdbcSQLType
public void setOutputJdbcSQLType(int i)(Code)
sets the jdbc type of this operators return type int jdbcType sql constant for the type



setOutputJdbcSQLType
public void setOutputJdbcSQLType(String jdbcType)(Code)
This method is another convenience method to compute the sql constant for the given string and set the jdbc type sets the jdbc type of this operators return type
Parameters:
  String - jdbcType



setScript
public void setScript(String aScript)(Code)

See Also:   SQLOperatorDefinition



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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.