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

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.SQLDBModelImpl,
SQLDBModel
public interface SQLDBModel extends DatabaseModel,SQLObject(Code)
Extension of DBModel
author:
   Jonathan Giron
version:
   $Revision$


Field Summary
final public static  StringMODEL_TAG
     Constant for DatabaseModel metadata name tag.
final public static  StringNAME
     String constant for model name tag.
final public static  StringPROJECTPATH
    
final public static  StringREFID
     String constant for reference ID.
final public static  StringREFKEY
     String constant for Database reference key ID.
final public static  StringSTRTYPE_SOURCE
    
final public static  StringSTRTYPE_TARGET
    


Method Summary
public  voidaddTable(SQLDBTable table)
     Adds table to this instance.
public  voidclearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride)
    
public  Objectclone()
     Clones this object.
public  booleancontainsTable(SQLDBTable table)
    
public  voidcopyFrom(DatabaseModel src)
     Copies member values to those contained in the given DatabaseModel instance.
public  voidcopyFrom(DatabaseModel src, int objType)
     Copies member values to those contained in the given DatabaseModel instance, using the given value for object type.
public  DBTablecreateTable(String tableName, String schemaName, String catalogName)
     Create DBTable instance with the given table, schema, and catalog names.
public  booleandeleteAllTables()
     Deletes all tables associated with this data source.
public  booleandeleteTable(String fqTableName)
     Delete table from the SQLDataSource
Parameters:
  fqTableName - fully qualified name of table to be deleted.
public  booleanequals(Object refObj)
    
public  MapgetAllSQLTables()
    
public  ListgetAllTables(String tableName, String schemaName, String catalogName)
    
public  DBConnectionDefinitiongetETLDBConnectionDefinition()
    
public  SQLObjectgetObject(String objectId)
     Gets SQLObject, if any, having the given object ID.
public  StringgetRefKey()
    
public  MapgetTableMap()
     Gets a read-only Map of table names to available DBTable instances in this model.
public  inthashCode()
     Overrides default implementation to compute hashCode value for those members used in equals() for comparison.
public  voidoverrideCatalogNames(Map catalogOverride)
    
public  voidoverrideSchemaNames(Map schemaOverride)
    
public  voidsetConnectionDefinition(DBConnectionDefinition dbConnectionDef)
    
public  voidsetDescription(String newDesc)
    
public  voidsetModelName(String theName)
    
public  voidsetRefKey(String aKey)
    
public  voidsetSQLFrameworkParentObject(SQLFrameworkParentObject aParent)
    
public  voidsetSource(ETLObject obj)
     Sets repository object, if any, providing underlying data for this DatabaseModel implementation.

Field Detail
MODEL_TAG
final public static String MODEL_TAG(Code)
Constant for DatabaseModel metadata name tag.



NAME
final public static String NAME(Code)
String constant for model name tag.



PROJECTPATH
final public static String PROJECTPATH(Code)
String constant for absolute path to owning project



REFID
final public static String REFID(Code)
String constant for reference ID.



REFKEY
final public static String REFKEY(Code)
String constant for Database reference key ID.



STRTYPE_SOURCE
final public static String STRTYPE_SOURCE(Code)
String constant indicating source type



STRTYPE_TARGET
final public static String STRTYPE_TARGET(Code)
String constant indicating source type





Method Detail
addTable
public void addTable(SQLDBTable table) throws IllegalStateException(Code)
Adds table to this instance.
Parameters:
  table - new table to add
throws:
  IllegalStateException - if unable to add table



clearOverride
public void clearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride)(Code)



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



containsTable
public boolean containsTable(SQLDBTable table)(Code)
check if a table exists This will check if a table is in database model,



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



copyFrom
public void copyFrom(DatabaseModel src, int objType)(Code)
Copies member values to those contained in the given DatabaseModel instance, using the given value for object type.
Parameters:
  src - DatabaseModel whose contents are to be copied into this instance
Parameters:
  objType - type of object (SOURCE_DBMODEL or TARGET_DBMODEL)



createTable
public DBTable createTable(String tableName, String schemaName, String catalogName)(Code)
Create DBTable instance with the given table, schema, and catalog names.
Parameters:
  tableName - table name of new table
Parameters:
  schemaName - schema name of new table
Parameters:
  catalogName - catalog name of new table an instance of SQLTable if successful, 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 SQLDataSource
Parameters:
  fqTableName - fully qualified name of table to be deleted. true if successful. false if failed.



equals
public boolean equals(Object refObj)(Code)

See Also:   java.lang.Object.equals



getAllSQLTables
public Map getAllSQLTables()(Code)
Gets the allTables attribute of the SQLDataSource object The allTables value



getAllTables
public List getAllTables(String tableName, String schemaName, String catalogName)(Code)
get a list of tables based on table name, schema name and catalog name since we allow duplicate tables this will return a list of tables



getETLDBConnectionDefinition
public DBConnectionDefinition getETLDBConnectionDefinition() throws BaseException(Code)
Gets SQLDBConnectionDefinition of the SQLDataSource object ConnectionDefinition of the SQLDataSource object



getObject
public SQLObject getObject(String objectId)(Code)
Gets SQLObject, if any, having the given object ID.
Parameters:
  objectId - ID of SQLObject being sought SQLObject associated with objectID, or null if no such object exists.



getRefKey
public String getRefKey()(Code)



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



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



overrideCatalogNames
public void overrideCatalogNames(Map catalogOverride)(Code)



overrideSchemaNames
public void overrideSchemaNames(Map schemaOverride)(Code)



setConnectionDefinition
public void setConnectionDefinition(DBConnectionDefinition dbConnectionDef)(Code)



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



setModelName
public void setModelName(String theName)(Code)

See Also:   org.netbeans.modules.model.database.DatabaseModel.getModelName



setRefKey
public void setRefKey(String aKey)(Code)



setSQLFrameworkParentObject
public void setSQLFrameworkParentObject(SQLFrameworkParentObject aParent)(Code)



setSource
public void setSource(ETLObject obj)(Code)
Sets repository object, if any, providing underlying data for this DatabaseModel implementation.
Parameters:
  obj - Object hosting this object's metadata, or null if data are notheld by a ETLObject.



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