Java Doc for SQLCastOperatorImpl.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
            org.netbeans.modules.sql.framework.model.impl.SQLCastOperatorImpl

SQLCastOperatorImpl
final public class SQLCastOperatorImpl extends SQLGenericOperatorImpl implements SQLCastOperator(Code)
Overrides parent implementation to ensure return value of getJdbcType() reflects the datatype to which the user opts to cast the input.
author:
   Jonathan Giron
version:
   $Revision$



Constructor Summary
public  SQLCastOperatorImpl()
    
public  SQLCastOperatorImpl(SQLCastOperator src)
    
public  SQLCastOperatorImpl(String newName, String aType)
    

Method Summary
public  voidaddInput(String argName, SQLObject newInput)
    
public  Objectclone()
    
public  intgetJdbcType()
     Overrides parent implementation to return datatype represented by user's selection in the static GUI field.
public  intgetPrecision()
    
public  intgetScale()
    
public  voidsetArguments(List opArgs)
     Overrides default implementation to treat precision and scale arguments as attributes rather than as inputs.
public  voidsetJdbcType(int newType)
     Overrides parent implementation to set datatype to the given value.
public  voidsetPrecision(int newValue)
    
public  voidsetScale(int newValue)
    


Constructor Detail
SQLCastOperatorImpl
public SQLCastOperatorImpl()(Code)
Constructs a default instance of SQLCastOperatorImpl



SQLCastOperatorImpl
public SQLCastOperatorImpl(SQLCastOperator src) throws BaseException(Code)

Parameters:
  src -
throws:
  BaseException -



SQLCastOperatorImpl
public SQLCastOperatorImpl(String newName, String aType) throws BaseException(Code)

Parameters:
  newName -
Parameters:
  aType -
throws:
  BaseException -




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

See Also:   org.netbeans.modules.sql.framework.model.SQLConnectableObject.addInput(java.lang.Stringorg.netbeans.modules.sql.framework.model.SQLObject)



clone
public Object clone() throws CloneNotSupportedException(Code)



getJdbcType
public int getJdbcType()(Code)
Overrides parent implementation to return datatype represented by user's selection in the static GUI field. JDBC type that user has specified for casting
See Also:   org.netbeans.modules.sql.framework.model.SQLObject.getJdbcType



getPrecision
public int getPrecision()(Code)



getScale
public int getScale()(Code)



setArguments
public void setArguments(List opArgs) throws BaseException(Code)
Overrides default implementation to treat precision and scale arguments as attributes rather than as inputs.
See Also:   org.netbeans.modules.sql.framework.model.SQLOFunction.setArguments(java.util.List)



setJdbcType
public void setJdbcType(int newType)(Code)
Overrides parent implementation to set datatype to the given value.
Parameters:
  newType - new JDBC type for this cast-as operator.
See Also:   org.netbeans.modules.sql.framework.model.SQLObject.setJdbcType(int)



setPrecision
public void setPrecision(int newValue)(Code)



setScale
public void setScale(int newValue)(Code)



Fields inherited from org.netbeans.modules.sql.framework.model.impl.SQLGenericOperatorImpl
final static String LOG_CATEGORY(Code)(Java Doc)
protected boolean hasVariableArgs(Code)(Java Doc)
protected SQLOperatorDefinition operatorDefinition(Code)(Java Doc)
protected IOperatorXmlInfo operatorXmlInfo(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.SQLGenericOperatorImpl
public void addInput(String argName, SQLObject newInput) throws BaseException(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
protected void copyFrom(SQLGenericOperator op) throws BaseException(Code)(Java Doc)
public boolean equals(Object refObj)(Code)(Java Doc)
public Object getArgumentValue(String argName) throws BaseException(Code)(Java Doc)
public String getCustomOperatorName()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public GUIInfo getGUIInfo()(Code)(Java Doc)
public int getJdbcType()(Code)(Java Doc)
public SQLOperatorDefinition getOperatorDefinition()(Code)(Java Doc)
public String getOperatorType()(Code)(Java Doc)
public IOperatorXmlInfo getOperatorXmlInfo()(Code)(Java Doc)
public boolean hasVariableArgs()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isAggregateFunction()(Code)(Java Doc)
public int isCastable(String argName, SQLObject input)(Code)(Java Doc)
public boolean isCustomOperator()(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 boolean isShowParenthesis()(Code)(Java Doc)
public void parseXML(Element xmlElement) throws BaseException(Code)(Java Doc)
public SQLObject removeInputByArgName(String argName, SQLObject sqlObj) throws BaseException(Code)(Java Doc)
public void secondPassParse(Element element) throws BaseException(Code)(Java Doc)
public void setArgument(String argName, Object val) throws BaseException(Code)(Java Doc)
public void setArguments(List opArgs) throws BaseException(Code)(Java Doc)
public void setCustomOperator(boolean userFx)(Code)(Java Doc)
public void setCustomOperatorName(String userFxName)(Code)(Java Doc)
public void setDbSpecificOperator(String dbSpName) throws BaseException(Code)(Java Doc)
public void setOperatorType(String opName) throws BaseException(Code)(Java Doc)
public void setOperatorXmlInfo(IOperatorXmlInfo opInfo) throws BaseException(Code)(Java Doc)
public void setShowParenthesis(boolean show)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toXMLString(String prefix)(Code)(Java Doc)
public void visit(SQLVisitor visitor)(Code)(Java Doc)

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__a__v__a2s___.c___o___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.