Java Doc for DatabaseModelImpl.java in  » IDE-Netbeans » sql.project » org » netbeans » modules » jdbcwizard » builder » dbmodel » 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 » sql.project » org.netbeans.modules.jdbcwizard.builder.dbmodel.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.DatabaseModelImpl

DatabaseModelImpl
public class DatabaseModelImpl implements DatabaseModel,Cloneable(Code)
This class implements DBQueryModel


Field Summary
protected  DBConnectionDefinitionconnectionDefinition
    
protected volatile  StringconnectionName
    
protected volatile  Stringdescription
    
protected volatile  Stringname
    
protected  SortedMaptables
    

Constructor Summary
public  DatabaseModelImpl(String modelName, DBConnectionDefinition connDef)
     Constructs a new instance of DatabaseModelImpl using the given name and DBConnectionDefinition.

Method Summary
public  booleanaddTable(DBTable table)
     Adds new DBTable to the model.
public  Objectclone()
     Clones this object.
public  voidcopyFrom(DatabaseModel src)
     Copies member values to those contained in the given DBQueryModel instance.
public  DBTablecreateTable(String tableName, String schemaName, String catalogName)
     Create DBTable with the given table name, schema name and catalog name.
public  booleandeleteAllTables()
     Deletes all tables associated with this data source.
public  booleandeleteTable(String fqTableName)
     Delete table from the DatabaseModelImpl
Parameters:
  fqTableName - fully qualified name of table to be deleted.
public  booleanequals(Object refObj)
    
public  DBConnectionDefinitiongetConnectionDefinition()
    
public  StringgetConnectionName()
    
public  StringgetFullyQualifiedTableName(DBTable tbl)
    
public  StringgetFullyQualifiedTableName(String tblName, String schName, String catName)
    
public  StringgetModelDescription()
    
public  StringgetModelName()
    
public  DBTablegetTable(String tableName, String schemaName, String catalogName)
    
public  DBTablegetTable(String fqTableName)
    
public  MapgetTableMap()
     Gets a read-only Map of table names to available DBTable instances in this model.
public  ListgetTables()
    
public  inthashCode()
     Overrides default implementation to compute hashCode value for those members used in equals() for comparison.
public  voidsetConnectionName(String theConName)
    
public  voidsetDescription(String newDesc)
    
public  StringtoString()
     Overrides default implementation to return name of this DBQueryModel.

Field Detail
connectionDefinition
protected DBConnectionDefinition connectionDefinition(Code)



connectionName
protected volatile String connectionName(Code)
Connection name



description
protected volatile String description(Code)
User-supplied description



name
protected volatile String name(Code)
User-supplied name



tables
protected SortedMap tables(Code)
Map of DBTable instances




Constructor Detail
DatabaseModelImpl
public DatabaseModelImpl(String modelName, DBConnectionDefinition connDef)(Code)
Constructs a new instance of DatabaseModelImpl using the given name and DBConnectionDefinition.
Parameters:
  dName - name of new DBQueryModel
Parameters:
  connDef - DBConnectionInfo for this Data Source




Method Detail
addTable
public boolean addTable(DBTable table)(Code)
Adds new DBTable to the model.
Parameters:
  table - new DBTable to add true if add succeeded, false otherwise



clone
public Object clone()(Code)
Clones this object. shallow copy of this DatabaseModelImpl



copyFrom
public void copyFrom(DatabaseModel src)(Code)
Copies member values to those contained in the given DBQueryModel instance.
Parameters:
  src - DBQueryModel whose contents are to be copied into this instance



createTable
public DBTable createTable(String tableName, String schemaName, String catalogName)(Code)
Create DBTable with the given table name, schema name and catalog name.
Parameters:
  tableName - table name.
Parameters:
  schemaName - schema name; may be null
Parameters:
  catalogName - catalog name; may be null an instance of DBTable if successfull, null if failed.



deleteAllTables
public boolean deleteAllTables()(Code)
Deletes all tables associated with this data source. true if all tables were deleted successfully, false otherwise.



deleteTable
public boolean deleteTable(String fqTableName)(Code)
Delete table from the DatabaseModelImpl
Parameters:
  fqTableName - fully qualified name of table to be deleted. true if successful. false if failed.
See Also:   com.stc.model.database.DBTable.getFullyQualifiedTableName



equals
public boolean equals(Object refObj)(Code)

See Also:   java.lang.Object.equals



getConnectionDefinition
public DBConnectionDefinition getConnectionDefinition()(Code)
Gets DBConnectionDefinition of the DatabaseModelImpl object ConnectionDefinition of the DatabaseModelImpl object



getConnectionName
public String getConnectionName()(Code)

See Also:   com.stc.model.database.DBQueryModel.getConnectionName



getFullyQualifiedTableName
public String getFullyQualifiedTableName(DBTable tbl)(Code)

See Also:   com.stc.model.database.DBQueryModel.getFullyQualifiedTableName(DBTable)



getFullyQualifiedTableName
public String getFullyQualifiedTableName(String tblName, String schName, String catName)(Code)

See Also:   com.stc.model.database.DBQueryModel.getFullyQualifiedTableName(StringStringString)



getModelDescription
public String getModelDescription()(Code)

See Also:   com.stc.model.database.DBQueryModel.getModelDescription



getModelName
public String getModelName()(Code)

See Also:   com.stc.model.database.DBQueryModel.getModelName



getTable
public DBTable getTable(String tableName, String schemaName, String catalogName)(Code)

See Also:   com.stc.model.database.DBQueryModel.getTable(StringStringString)



getTable
public DBTable getTable(String fqTableName)(Code)

See Also:   com.stc.model.database.DBQueryModel.getTable(String)



getTableMap
public Map getTableMap()(Code)
Gets a read-only Map of table names to available DBTable instances in this model. readonly Map of table names to DBTable instances



getTables
public List getTables()(Code)

See Also:   com.stc.model.database.DBQueryModel.getTables



hashCode
public int hashCode()(Code)
Overrides default implementation to compute hashCode value for those members used in equals() for comparison. hash code for this object
See Also:   java.lang.Object.hashCode



setConnectionName
public void setConnectionName(String theConName)(Code)
Sets the Connection Name associated with connection name
Parameters:
  theConName - associated with this DataSource



setDescription
public void setDescription(String newDesc)(Code)
Sets the description string of this DBQueryModel
Parameters:
  newDesc - new description string



toString
public String toString()(Code)
Overrides default implementation to return name of this DBQueryModel. model name.



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.