Java Doc for SQLJoinViewImpl.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.SQLJoinViewImpl

SQLJoinViewImpl
public class SQLJoinViewImpl extends AbstractSQLObject implements SQLJoinView(Code)

author:
   Ritesh Adval

Inner Class :class SecondParseObjectInfo

Field Summary
final public static  StringTAG_JOINVIEW
    
final public static  StringTAG_TABLES
    

Constructor Summary
public  SQLJoinViewImpl()
    
public  SQLJoinViewImpl(SQLJoinView src)
    

Method Summary
public  voidaddObject(SQLObject newObject)
     Adds given SQLObject instance to this SQLDefinition.
public  voidaddSecondPassSQLObject(SQLObject sqlObj, Element element)
     Adds SQLObject to list of object references to be resolved in a second pass.
public  Objectclone()
    
public  ObjectcloneSQLObject()
    
public  booleancontainsSourceTable(SourceTable table)
    
public  SQLObjectcreateObject(String objTag)
     Creates a new SQLObject instance of the given type with the given display name - does not associated the vended SQLObject with this instance.
public  SQLObjectcreateSQLObject(String className)
     Creates a new SQLObject instance of the given type with the given display name - does not associated the vended SQLObject with this instance.
public  booleanequals(Object o)
     Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
 StringgenerateId()
    
public  StringgetAliasName()
    
public  CollectiongetAllObjects()
     Gets the Collection of active SQLObjects.
public  GUIInfogetGUIInfo()
     Gets GUI-related attributes for this instance in the form of a GuiInfo instance.
public  SQLJoinTablegetJoinTable(SourceTable sTable)
    
public  SQLJoinOperatorgetJoinofTable(SQLJoinTable jTable)
    
public  SQLObjectgetObject(String objectId, int aType)
     Gets associated SQLObject instance, if any, with the given object ID.
public  intgetObjectType()
    
public  CollectiongetObjectsOfType(int atype)
    
public  ObjectgetParent()
     Gets parent object, if any, that owns this SQLDefinition instance.
public  StringgetQualifiedName()
    
public  SQLJoinOperatorgetRootJoin()
    
public  SQLGroupBygetSQLGroupBy()
    
public  CollectiongetSQLJoinTables()
    
 SQLObjectgetSQLObject(String anId)
    
public  ListgetSourceTables()
    
public  inthashCode()
     Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
 booleanisIdExists(String anId)
    
public  booleanisSourceColumnVisible(SQLDBColumn column)
    
public  voidparseXML(Element xmlElement)
     Parses the XML content, if any, using the given Element as a source for reconstituting the member variables and collections of this instance.
public  voidremoveAllObjects()
    
public  voidremoveObject(SQLObject sqlObj)
    
public  voidremoveObjects(Collection sqlObjs)
     Removes given SQLObjects from SQLJoinView collection.
public  voidremoveTablesAndJoins(SourceTable sTable)
    
public  voidsetAliasName(String aName)
    
public  voidsetParent(Object newParent)
     Sets parent object, if any, that owns this SQLDefinition instance.
public  voidsetSQLGroupBy(SQLGroupBy groupBy)
    
public  StringtoXMLString(String prefix)
     Returns the XML representation of collabSegment.
Parameters:
  prefix - the xml.
public  voidvisit(SQLVisitor visitor)
    

Field Detail
TAG_JOINVIEW
final public static String TAG_JOINVIEW(Code)



TAG_TABLES
final public static String TAG_TABLES(Code)




Constructor Detail
SQLJoinViewImpl
public SQLJoinViewImpl()(Code)
Creates a new instance of SQLJoinContainerImpl



SQLJoinViewImpl
public SQLJoinViewImpl(SQLJoinView src) throws BaseException(Code)




Method Detail
addObject
public void addObject(SQLObject newObject) throws BaseException(Code)
Adds given SQLObject instance to this SQLDefinition.
Parameters:
  newObject - new instance to add
throws:
  BaseException - if add fails or instance implements an unrecognized objecttype.



addSecondPassSQLObject
public void addSecondPassSQLObject(SQLObject sqlObj, Element element)(Code)
Adds SQLObject to list of object references to be resolved in a second pass.
Parameters:
  sqlObj - to be added
Parameters:
  element - DOM Element of SQLObject to be resolved later



clone
public Object clone() throws CloneNotSupportedException(Code)



cloneSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)
all sql objects are cloneable



containsSourceTable
public boolean containsSourceTable(SourceTable table)(Code)



createObject
public SQLObject createObject(String objTag) throws BaseException(Code)
Creates a new SQLObject instance of the given type with the given display name - does not associated the vended SQLObject with this instance. To associate the returned SQLObject instance with this instance, the calling method should call addSQLObject(SQLObject) which will ensure the parent-child relationship is preserved.
Parameters:
  objTag - objTag of object to create new SQLObject instance
throws:
  BaseException - if error occurs during creation
See Also:   SQLJoinViewImpl.addObject(SQLObject)



createSQLObject
public SQLObject createSQLObject(String className) throws BaseException(Code)
Creates a new SQLObject instance of the given type with the given display name - does not associated the vended SQLObject with this instance. To associate the returned SQLObject instance with this instance, the calling method should call addSQLObject(SQLObject) which will ensure the parent-child relationship is preserved.
Parameters:
  className - className of object to create new SQLObject instance
throws:
  BaseException - if error occurs during creation
See Also:   SQLJoinViewImpl.addObject(SQLObject)



equals
public boolean equals(Object o)(Code)
Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables.
Parameters:
  o - Object to test for equality with this hashcode for this instance



generateId
String generateId()(Code)



getAliasName
public String getAliasName()(Code)
get the alias name for this join view alias name



getAllObjects
public Collection getAllObjects()(Code)
Gets the Collection of active SQLObjects. Collection of current SQLObjects in this SQLDefinition instance.



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



getJoinTable
public SQLJoinTable getJoinTable(SourceTable sTable)(Code)



getJoinofTable
public SQLJoinOperator getJoinofTable(SQLJoinTable jTable)(Code)



getObject
public SQLObject getObject(String objectId, int aType)(Code)
Gets associated SQLObject instance, if any, with the given object ID.
Parameters:
  objectId - ID of SQLObject instance to be retrieved
Parameters:
  aType - type of object to retrieve associated SQLObject instance, or null if no such instance exists



getObjectType
public int getObjectType()(Code)



getObjectsOfType
public Collection getObjectsOfType(int atype)(Code)
Gets a Collection of SQLObjects, if any, with the given type
Parameters:
  atype - SQLObject type to retrieve Collection (possibly empty) of SQLObjects with the given type



getParent
public Object getParent()(Code)
Gets parent object, if any, that owns this SQLDefinition instance. parent object



getQualifiedName
public String getQualifiedName()(Code)
get table qualified name qualified table name prefixed with alias



getRootJoin
public SQLJoinOperator getRootJoin()(Code)
get the root join located in this join view root join



getSQLGroupBy
public SQLGroupBy getSQLGroupBy()(Code)

See Also:   org.netbeans.modules.sql.framework.model.SourceTable.getSQLGroupBy



getSQLJoinTables
public Collection getSQLJoinTables()(Code)



getSQLObject
SQLObject getSQLObject(String anId)(Code)



getSourceTables
public List getSourceTables()(Code)



hashCode
public int hashCode()(Code)
Overrides default implementation to compute hashcode based on any associated attributes as well as values of non-transient member variables. hashcode for this instance



isIdExists
boolean isIdExists(String anId)(Code)



isSourceColumnVisible
public boolean isSourceColumnVisible(SQLDBColumn column)(Code)



parseXML
public void parseXML(Element xmlElement) throws BaseException(Code)
Parses the XML content, if any, using the given Element as a source for reconstituting the member variables and collections of this instance.
Parameters:
  xmlElement - DOM element containing XML marshalled version of a SQLDefinitioninstance
throws:
  BaseException - thrown while parsing XML, or if xmlElement is null



removeAllObjects
public void removeAllObjects()(Code)
Remove all objects from this container



removeObject
public void removeObject(SQLObject sqlObj) throws BaseException(Code)
Removes the given object from SQLDefinition
Parameters:
  sqlObj - to be removed
throws:
  BaseException - while removing



removeObjects
public void removeObjects(Collection sqlObjs) throws BaseException(Code)
Removes given SQLObjects from SQLJoinView collection.
Parameters:
  sqlObjects - to be removed
throws:
  BaseException - while removing



removeTablesAndJoins
public void removeTablesAndJoins(SourceTable sTable) throws BaseException(Code)



setAliasName
public void setAliasName(String aName)(Code)
set the alias name for this join view
Parameters:
  aName - alias name



setParent
public void setParent(Object newParent)(Code)
Sets parent object, if any, that owns this SQLDefinition instance.
Parameters:
  newParent - new parent object
throws:
  BaseException - if error occurs while setting parent object



setSQLGroupBy
public void setSQLGroupBy(SQLGroupBy groupBy)(Code)

See Also:   org.netbeans.modules.sql.framework.model.SourceTable.setSQLGroupBy(org.netbeans.modules.sql.framework.model.SQLGroupBy)



toXMLString
public String toXMLString(String prefix) throws BaseException(Code)
Returns the XML representation of collabSegment.
Parameters:
  prefix - the xml. Returns the XML representation of colabSegment.



visit
public void visit(SQLVisitor visitor)(Code)



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__w__w_.___j__a___v__a_2___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.