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


org.netbeans.modules.mashup.db.model.FlatfileDBTable

All known Subclasses:   org.netbeans.modules.mashup.db.model.impl.FlatfileDBTableImpl,
FlatfileDBTable
public interface FlatfileDBTable extends SQLDBTable(Code)
Extends DBTable to support metadata and behavior of a flatfile as an analogue for a database table.
author:
   Jonathan Giron
author:
   Ahimanikya Satapathy
version:
   $Revision$


Field Summary
final public static  StringPROP_CREATE_IF_NOT_EXIST
    
final public static  StringPROP_FILENAME
    
final public static  StringPROP_WIZARD
    


Method Summary
 Objectclone()
     Clone a deep copy of DBTable.
 intcompareTo(Object refObj)
     Compares DBTable with another object for lexicographical ordering.
 voidcopyFrom(FlatfileDBTable source)
     Performs deep copy of contents of given FlatfileDBTable.
 FlatfileDBColumncreateColumn(String columnName, int jdbcType, int scale, int precision, boolean isPK, boolean isFK, boolean isIndexed, boolean nullable)
     Convenience class to create FlatfileDBColumnImpl instance (with the given column name, data source name, JDBC type, scale, precision, and nullable), and add it to this FlatfileDBTableImpl instance.
 booleanequals(Object obj)
     Overrides default implementation to return value based on memberwise comparison.
 StringgetCreateStatementSQL()
    
 StringgetCreateStatementSQL(String directory, String theTableName, String runtimeName, boolean isDynamicFilePath, boolean createDataFileIfNotExist)
     Gets the SQL create statement to create a text table representing this flatfile.
 StringgetDropStatementSQL()
    
 StringgetEncodingScheme()
     Gets the encoding scheme.
 StringgetFileName()
    
 StringgetFlatfilePropertiesSQL()
    
 StringgetLocalFilePath()
     Gets local path to sample file.
 StringgetParserType()
    
 MapgetProperties()
    
 StringgetProperty(String key)
     Gets property string associated with the given name.
 StringgetSelectStatementSQL(int rows)
    
 StringgetTableName()
     Gets the table name.
 inthashCode()
     Overrides default implementation to compute hashCode value for those members used in equals() for comparison.
 voidsetDescription(String newDesc)
     Sets description text for this instance.
 voidsetEncodingScheme(String newEncoding)
     Sets the encoding scheme.
 voidsetFileName(String newName)
     Sets the file name.
 voidsetLocalFilePath(File localFile)
     Sets local path to sample file.
Parameters:
  localFile - File representing path to sample file.
 voidsetParseType(String type)
    
 voidsetProperties(Map newProps)
    
 booleansetProperty(String key, Object value)
    
 StringtoString()
     Overrides default implementation to return fully-qualified name of this DBTable (including name of parent DatabaseModel).
 voidupdateProperties(Map newProps)
    

Field Detail
PROP_CREATE_IF_NOT_EXIST
final public static String PROP_CREATE_IF_NOT_EXIST(Code)



PROP_FILENAME
final public static String PROP_FILENAME(Code)



PROP_WIZARD
final public static String PROP_WIZARD(Code)





Method Detail
clone
Object clone()(Code)
Clone a deep copy of DBTable. a copy of DBTable.



compareTo
int compareTo(Object refObj)(Code)
Compares DBTable with another object for lexicographical ordering. Null objects and those DBTables with null names are placed at the end of any ordered collection using this method.
Parameters:
  refObj - Object to be compared. -1 if the column name is less than obj to be compared. 0 if the column nameis the same. 1 if the column name is greater than obj to be compared.



copyFrom
void copyFrom(FlatfileDBTable source)(Code)
Performs deep copy of contents of given FlatfileDBTable. We deep copy (that is, the method clones all child objects such as columns) because columns have a parent-child relationship that must be preserved internally.
Parameters:
  source - FlatfileDBTable providing contents to be copied.



createColumn
FlatfileDBColumn createColumn(String columnName, int jdbcType, int scale, int precision, boolean isPK, boolean isFK, boolean isIndexed, boolean nullable)(Code)
Convenience class to create FlatfileDBColumnImpl instance (with the given column name, data source name, JDBC type, scale, precision, and nullable), and add it to this FlatfileDBTableImpl instance.
Parameters:
  columnName - Column name
Parameters:
  jdbcType - JDBC type defined in SQL.Types
Parameters:
  scale - Scale
Parameters:
  precision - Precision
Parameters:
  isPK - true if part of primary key, false otherwise
Parameters:
  isFK - true if part of foreign key, false otherwise
Parameters:
  isIndexed - true if indexed, false otherwise
Parameters:
  nullable - Nullable new FlatfileDBColumnImpl instance



equals
boolean equals(Object obj)(Code)
Overrides default implementation to return value based on memberwise comparison.
Parameters:
  obj - Object against which we compare this instance true if obj is functionally identical to this ETLTable instance; falseotherwise



getCreateStatementSQL
String getCreateStatementSQL()(Code)
Gets the Create Statement SQL for creating table for a flat file SQL for this Flatfile with getTableName()



getCreateStatementSQL
String getCreateStatementSQL(String directory, String theTableName, String runtimeName, boolean isDynamicFilePath, boolean createDataFileIfNotExist)(Code)
Gets the SQL create statement to create a text table representing this flatfile. SQL statement to create a text table representing the contents of thisflatfile



getDropStatementSQL
String getDropStatementSQL()(Code)



getEncodingScheme
String getEncodingScheme()(Code)
Gets the encoding scheme. encoding scheme



getFileName
String getFileName()(Code)



getFlatfilePropertiesSQL
String getFlatfilePropertiesSQL()(Code)



getLocalFilePath
String getLocalFilePath()(Code)
Gets local path to sample file. path (in local workstation file system) to file, excluding the filename.



getParserType
String getParserType()(Code)



getProperties
Map getProperties()(Code)



getProperty
String getProperty(String key)(Code)
Gets property string associated with the given name.
Parameters:
  key - property key property associated with propName, or null if no such property exists.



getSelectStatementSQL
String getSelectStatementSQL(int rows)(Code)



getTableName
String getTableName()(Code)
Gets the table name. Table name



hashCode
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



setDescription
void setDescription(String newDesc)(Code)
Sets description text for this instance.
Parameters:
  newDesc - new descriptive text



setEncodingScheme
void setEncodingScheme(String newEncoding)(Code)
Sets the encoding scheme.
Parameters:
  newEncoding - encoding scheme



setFileName
void setFileName(String newName)(Code)
Sets the file name.
Parameters:
  newName - new file name



setLocalFilePath
void setLocalFilePath(File localFile)(Code)
Sets local path to sample file.
Parameters:
  localFile - File representing path to sample file. If localFile represents thefile itself, only the directory path will be stored.



setParseType
void setParseType(String type)(Code)



setProperties
void setProperties(Map newProps)(Code)



setProperty
boolean setProperty(String key, Object value)(Code)



toString
String toString()(Code)
Overrides default implementation to return fully-qualified name of this DBTable (including name of parent DatabaseModel). table name.



updateProperties
void updateProperties(Map newProps)(Code)



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