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


org.netbeans.modules.sql.framework.model.impl.SQLDBModelImpl
   org.netbeans.modules.mashup.db.model.impl.FlatfileDatabaseModelImpl

FlatfileDatabaseModelImpl
public class FlatfileDatabaseModelImpl extends SQLDBModelImpl implements FlatfileDatabaseModel,Cloneable(Code)
Flatfile DB specific concrete implementation of DatabaseModel interface.
author:
   Jonathan Giron
author:
   Girish Patil
author:
   Ahimanikya Satapathy
version:
   $Revision$


Field Summary
protected volatile  StringconnectionName
    

Constructor Summary
public  FlatfileDatabaseModelImpl()
     Constructs a new default instance of FlatfileDatabaseModelImpl.
public  FlatfileDatabaseModelImpl(FlatfileDatabaseModel src)
     Creates a new instance of FlatfileDatabaseModelImpl, cloning the contents of the given DatabaseModel implementation instance.
public  FlatfileDatabaseModelImpl(String modelName, DBConnectionDefinition connDef)
     Constructs a new instance of FlatfileDatabaseModelImpl of type SOURCE_DBMODEL, using the given name and DBConnectionDefinition.

Method Summary
public  voidaddTable(FlatfileDBTable table)
     Adds new SourceTable to the model.
public  Objectclone()
     Clones this object.
public  voidcopyFrom(DatabaseModel src)
     Copies member values from those contained in the given DatabaseModel instance.
public  voidcopyFrom(FlatfileDatabaseModel src)
     Copies member values from those contained in the given FlatfileDatabaseModel instance.
public  DBTablecreateTable(String tableName, String schemaName, String catalogName)
     Create DBTable instance with the given table, schema, and catalog names.
public  booleanequals(Object refObj)
    
public  StringgetConnectionName()
     Gets name of DBConnectionDefinition associated with this database model.
public  FlatfileDBTablegetFileMatchingFileName(String aName)
    
public  FlatfileDBTablegetFileMatchingTableName(String tableName)
     Gets Flatfile instance, if any, whose table name matches the given String.
public  DBConnectionDefinitiongetFlatfileDBConnectionDefinition(boolean download)
    
public  MapgetFlatfileTablePropertyMap(String flatfileName)
    
public  MapgetFlatfileTablePropertyMaps()
    
public  StringgetFullyQualifiedTableName(DBTable tbl)
    
public  StringgetFullyQualifiedTableName(String tblName, String schName, String catName)
    
public  ConnectiongetJDBCConnection()
    
public  ConnectiongetJDBCConnection(ClassLoader cl)
    
public  ConnectiongetJDBCConnection(Properties props)
    
public  ConnectiongetJDBCConnection(Properties props, ClassLoader cl)
    
public  ConnectiongetJDBCConnection(String jdbcUrl, String uid, String passwd)
    
public  ConnectiongetJDBCConnection(String jdbcUrl, String uid, String passwd, ClassLoader cl)
    
public  StringgetJDBCDriverClassName()
    
public  ListgetJDBCDriverClassNames()
    
public  intgetJDBCDriverType()
    
public  intgetJDBCDriverTypes(String arg0)
    
public  intgetMajorVersion()
    
public  intgetMicroVersion()
    
public  intgetMinorVersion()
    
public  ETLObjectgetSource()
     Gets repository object, if any, providing underlying data for this DatabaseModel implementation.
public  StringgetVersionString()
    
public  inthashCode()
     Overrides default implementation to compute hashCode value for those members used in equals() for comparison.
protected  voidparseAttributes(Element xmlElement)
    
protected  voidparseTablesMap(Element mapNode)
    
public  voidparseXML(Element xmlElement)
     Unmarshal this object from XML element.
public  voidsetConnectionDefinition(DBConnectionDefinition theConnectionDefinition)
    
public  voidsetConnectionName(String theConName)
    
 voidsetMajorVersion(int newMajor)
     Sets major version number.
 voidsetMicroVersion(int newMicro)
     Sets micro version number.
 voidsetMinorVersion(int newMinor)
     Sets minor version number.
public  voidsetSource(FlatfileDefinition obj)
     Sets repository object, if any, providing underlying data for this DatabaseModel implementation.
public  voidsetTables(Map theTables)
    
public  StringtoString()
     Overrides default implementation to return name of this DatabaseModel.
public  StringtoXMLString(String prefix)
     Marshall this object to XML string.

Field Detail
connectionName
protected volatile String connectionName(Code)
Connection name




Constructor Detail
FlatfileDatabaseModelImpl
public FlatfileDatabaseModelImpl()(Code)
Constructs a new default instance of FlatfileDatabaseModelImpl.



FlatfileDatabaseModelImpl
public FlatfileDatabaseModelImpl(FlatfileDatabaseModel src)(Code)
Creates a new instance of FlatfileDatabaseModelImpl, cloning the contents of the given DatabaseModel implementation instance.
Parameters:
  src - DatabaseModel instance to be cloned



FlatfileDatabaseModelImpl
public FlatfileDatabaseModelImpl(String modelName, DBConnectionDefinition connDef)(Code)
Constructs a new instance of FlatfileDatabaseModelImpl of type SOURCE_DBMODEL, using the given name and DBConnectionDefinition.
Parameters:
  modelName - name of new DatabaseModel
Parameters:
  connDef - FlatfileDBConnectionDefinition for this new instance




Method Detail
addTable
public void addTable(FlatfileDBTable table)(Code)
Adds new SourceTable to the model.
Parameters:
  table - new DBTable to add



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



copyFrom
public void copyFrom(DatabaseModel src)(Code)
Copies member values from those contained in the given DatabaseModel instance.



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



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 ETLTable if successful, null if failed.



equals
public boolean equals(Object refObj)(Code)

See Also:   java.lang.Object.equals



getConnectionName
public String getConnectionName()(Code)
Gets name of DBConnectionDefinition associated with this database model. name of associated DBConnectionDefinition instance



getFileMatchingFileName
public FlatfileDBTable getFileMatchingFileName(String aName)(Code)
Gets Flatfile instance, if any, whose file name matches the given String
Parameters:
  aName - file name to search for matching instance, if any, or null if no Flatfile matchesaName



getFileMatchingTableName
public FlatfileDBTable getFileMatchingTableName(String tableName)(Code)
Gets Flatfile instance, if any, whose table name matches the given String.
Parameters:
  tableName - table name to search for matching instance, if any, or null if no Flatfile matchesaName



getFlatfileDBConnectionDefinition
public DBConnectionDefinition getFlatfileDBConnectionDefinition(boolean download)(Code)



getFlatfileTablePropertyMap
public Map getFlatfileTablePropertyMap(String flatfileName)(Code)



getFlatfileTablePropertyMaps
public Map getFlatfileTablePropertyMaps()(Code)



getFullyQualifiedTableName
public String getFullyQualifiedTableName(DBTable tbl)(Code)

See Also:   org.netbeans.modules.model.database.DatabaseModel.getFullyQualifiedTableName(DBTable)



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

See Also:   org.netbeans.modules.model.database.DatabaseModel.getFullyQualifiedTableName(StringStringString)



getJDBCConnection
public Connection getJDBCConnection() throws Exception(Code)



getJDBCConnection
public Connection getJDBCConnection(ClassLoader cl) throws Exception(Code)



getJDBCConnection
public Connection getJDBCConnection(Properties props) throws Exception(Code)



getJDBCConnection
public Connection getJDBCConnection(Properties props, ClassLoader cl) throws Exception(Code)



getJDBCConnection
public Connection getJDBCConnection(String jdbcUrl, String uid, String passwd) throws Exception(Code)



getJDBCConnection
public Connection getJDBCConnection(String jdbcUrl, String uid, String passwd, ClassLoader cl) throws Exception(Code)



getJDBCDriverClassName
public String getJDBCDriverClassName() throws Exception(Code)



getJDBCDriverClassNames
public List getJDBCDriverClassNames() throws Exception(Code)



getJDBCDriverType
public int getJDBCDriverType() throws Exception(Code)



getJDBCDriverTypes
public int getJDBCDriverTypes(String arg0) throws Exception(Code)



getMajorVersion
public int getMajorVersion()(Code)



getMicroVersion
public int getMicroVersion()(Code)



getMinorVersion
public int getMinorVersion()(Code)



getSource
public ETLObject getSource()(Code)
Gets repository object, if any, providing underlying data for this DatabaseModel implementation. RepositoryObject hosting this object's metadata, or null if data are notheld by a Object.



getVersionString
public String getVersionString()(Code)



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



parseAttributes
protected void parseAttributes(Element xmlElement)(Code)



parseTablesMap
protected void parseTablesMap(Element mapNode) throws BaseException(Code)



parseXML
public void parseXML(Element xmlElement) throws BaseException(Code)
Unmarshal this object from XML element.
Parameters:
  xmlElement -



setConnectionDefinition
public void setConnectionDefinition(DBConnectionDefinition theConnectionDefinition)(Code)
Setter for FlatfileDBConnectionDefinition
Parameters:
  theConnectionDefinition - to be set



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



setMajorVersion
void setMajorVersion(int newMajor)(Code)
Sets major version number.
Parameters:
  newMajor - new major version number



setMicroVersion
void setMicroVersion(int newMicro)(Code)
Sets micro version number.
Parameters:
  newMicro - new micro version number



setMinorVersion
void setMinorVersion(int newMinor)(Code)
Sets minor version number.
Parameters:
  newMinor - new minor version number



setSource
public void setSource(FlatfileDefinition 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 Object.



setTables
public void setTables(Map theTables)(Code)
Setter for tables
Parameters:
  theTables - to be part of Model



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



toXMLString
public String toXMLString(String prefix) throws BaseException(Code)
Marshall this object to XML string.
Parameters:
  prefix - XML string



Fields inherited from org.netbeans.modules.sql.framework.model.impl.SQLDBModelImpl
final protected static int INIT_XMLBUF_SIZE(Code)(Java Doc)
protected DBConnectionDefinition connectionDefinition(Code)(Java Doc)
protected volatile String description(Code)(Java Doc)
protected volatile String name(Code)(Java Doc)
protected transient ETLObject source(Code)(Java Doc)
protected Map tables(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.model.impl.SQLDBModelImpl
public void addTable(SQLDBTable table) throws IllegalStateException(Code)(Java Doc)
public void clearOverride(boolean clearCatalogOverride, boolean clearSchemaOverride)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean containsTable(SQLDBTable table)(Code)(Java Doc)
public void copyFrom(DatabaseModel src)(Code)(Java Doc)
public void copyFrom(DatabaseModel src, int objType)(Code)(Java Doc)
public DBTable createTable(String tableName, String schemaName, String catalogName)(Code)(Java Doc)
public boolean deleteAllTables()(Code)(Java Doc)
public boolean deleteTable(String fqTableName)(Code)(Java Doc)
public boolean equals(Object refObj)(Code)(Java Doc)
public synchronized Map getAllSQLTables()(Code)(Java Doc)
public List getAllTables(String tableName, String schemaName, String catalogName)(Code)(Java Doc)
public List getChildSQLObjects()(Code)(Java Doc)
public DBConnectionDefinition getConnectionDefinition()(Code)(Java Doc)
public DBConnectionDefinition getETLDBConnectionDefinition() throws BaseException(Code)(Java Doc)
public String getFooter()(Code)(Java Doc)
public String getFullyQualifiedTableName(DBTable tbl)(Code)(Java Doc)
public String getFullyQualifiedTableName(String tblName, String schName, String catName)(Code)(Java Doc)
public String getHeader()(Code)(Java Doc)
public String getModelDescription()(Code)(Java Doc)
public String getModelName()(Code)(Java Doc)
public SQLObject getObject(String objectId)(Code)(Java Doc)
public String getRefKey()(Code)(Java Doc)
public ETLObject getSource()(Code)(Java Doc)
public DBTable getTable(String fqTableName)(Code)(Java Doc)
public DBTable getTable(String tableName, String schemaName, String catalogName)(Code)(Java Doc)
public Map getTableMap()(Code)(Java Doc)
public HashMap<String, Property> getTableMetaData(DBConnectionDefinition conndef, SQLDBTable element)(Code)(Java Doc)
public List getTables()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public void overrideCatalogNames(Map catalogOverride)(Code)(Java Doc)
public void overrideSchemaNames(Map schemaOverride)(Code)(Java Doc)
protected void parseSourceTables(NodeList tableNodeList) throws BaseException(Code)(Java Doc)
protected void parseTargetTables(NodeList tableNodeList) throws BaseException(Code)(Java Doc)
public void parseXML(Element dbElement) throws BaseException(Code)(Java Doc)
public void setConnectionDefinition(DBConnectionDefinition dbConnectionDef)(Code)(Java Doc)
public void setDescription(String newDesc)(Code)(Java Doc)
public void setModelName(String name)(Code)(Java Doc)
public void setRefKey(String aKey)(Code)(Java Doc)
public void setSQLFrameworkParentObject(SQLFrameworkParentObject aParent)(Code)(Java Doc)
public void setSource(ETLObject obj)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toXMLString(String prefix) throws BaseException(Code)(Java Doc)
protected void writeTables(String prefix, StringBuilder xml) throws BaseException(Code)(Java Doc)

w___ww__.___j___a_v_a2__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.