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


org.netbeans.modules.sql.framework.model.SQLContainerObject

SQLContainerObject
public interface SQLContainerObject (Code)

author:
   Ritesh Adval




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  ObjectcloneSQLObject()
    
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  Collection<SQLObject>getAllObjects()
     Gets the Collection of active SQLObjects.
public  SQLObjectgetObject(String objectId, int type)
     Gets associated SQLObject instance, if any, with the given object ID.
public  CollectiongetObjectsOfType(int type)
    
public  ObjectgetParent()
     Gets parent object, if any, that owns this SQLDefinition instance.
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 SQLObjects passed.
public  voidsetParent(Object newParent)
     Sets parent object, if any, that owns this SQLDefinition instance.
public  StringtoXMLString(String prefix)
     Returns the XML representation of collabSegment.
Parameters:
  prefix - the xml.



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



cloneSQLObject
public Object cloneSQLObject() throws CloneNotSupportedException(Code)
all sql objects are cloneable cloned sql object
throws:
  java.lang.CloneNotSupportedException -



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:   SQLContainerObject.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:   SQLContainerObject.addObject(SQLObject)



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



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



getObjectsOfType
public Collection getObjectsOfType(int type)(Code)
Gets a Collection of SQLObjects, if any, with the given type
Parameters:
  type - 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



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 SQLObjects passed.
Parameters:
  sqlObjs - Collection of SQLObjects to be removed
throws:
  BaseException - while removing



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



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.
throws:
  com.sun.sql.framework.exception.BaseException -



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