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


java.lang.Object
   org.netbeans.modules.mashup.db.ui.model.FlatfileTable

All known Subclasses:   org.netbeans.modules.mashup.db.ui.model.DelimitedFlatfile,  org.netbeans.modules.mashup.db.ui.model.FixedWidthFlatfile,
FlatfileTable
abstract public class FlatfileTable (Code)
Abstract bean wrapper for FlatfileDBTable instances to expose common read-only properties for display in a Flatfile Database definition property sheet.
author:
   Jonathan Giron
version:
   $Revision$


Field Summary
final public static  IntegerZERO
    

Constructor Summary
protected  FlatfileTable(FlatfileDBTable dbTable)
     Creates new instance of FlatfileTable, wrapping the given FlatfileDBTable instance.

Method Summary
public  booleanenableWhiteSpaceTrimming()
    
public  StringgetCatalog()
     Gets catalog, if any, with which the table is associated.
public  DBColumngetColumn(String name)
     Gets column, if any, with the given name.
public  ListgetColumnList()
     Gets List of columns contained by this instance.
public  StringgetDescription()
     Gets optional description of this table.
public  StringgetEncodingScheme()
    
public  StringgetFileName()
     Gets file name.
public  StringgetFileType()
    
public  ForeignKeygetForeignKey(String keyName)
     Gets ForeignKey instance, if any, with the given name and associated with this table.
public  ListgetForeignKeys()
     Gets List, possibly empty, of foreign keys associated with this table.
public  IndexgetIndex(String name)
     Gets Index instance, if any, associated with the given name.
public  ListgetIndexes()
     Gets List, possibly empty, of Indexes associated with this table.
public  IntegergetMaxFaults()
     Gets threshold number of faults, above which further parsing/execution should be halted.
public  StringgetName()
     Gets name of this instance - ordinarily the same as getTableName().
public  PrimaryKeygetPrimaryKey()
     Gets PrimaryKey instance, if any, associated with this table.
public  StringgetProperty(String propName)
     Gets property string associated with the given name.
public  StringgetRecordDelimiter()
     Gets the character(s) used to delimit records in this file.
public  IntegergetRowsToSkip()
    
public  StringgetSchema()
     Gets schema, if any, with which the table is associated.
public  StringgetSelectStatementSQL(int rows)
     Gets the SQL select statement to retrieve a result set displaying this file's contents, using the given value as a limit to the number of rows returned.
final public  FlatfileDBTablegetSource()
     Gets instance of FlatfileDBTble wrapped by this object.
public  StringgetTableName()
     Gets table name associated with this flatfile.
public  booleanisFirstLineHeader()
     Indicates whether the first physical record of the flatfile contains field header information.

Field Detail
ZERO
final public static Integer ZERO(Code)




Constructor Detail
FlatfileTable
protected FlatfileTable(FlatfileDBTable dbTable)(Code)
Creates new instance of FlatfileTable, wrapping the given FlatfileDBTable instance.
Parameters:
  dbTable - FlatfileDBTable instance (delimited type) to be wrapped.




Method Detail
enableWhiteSpaceTrimming
public boolean enableWhiteSpaceTrimming()(Code)
Indicates whether white space trimming is enabled or not



getCatalog
public String getCatalog()(Code)
Gets catalog, if any, with which the table is associated. name of associated catalog; may return "" if value is null or emptystring



getColumn
public DBColumn getColumn(String name)(Code)
Gets column, if any, with the given name.
Parameters:
  name - name of column to get DBColumn associated with name, or null if no such columnexists



getColumnList
public List getColumnList()(Code)
Gets List of columns contained by this instance. List of FlatfileDBColumns that are part of this instance



getDescription
public String getDescription()(Code)
Gets optional description of this table. table description string



getEncodingScheme
public String getEncodingScheme()(Code)
Gets name of encoding scheme to use in parsing underlying flatfile data current encoding scheme



getFileName
public String getFileName()(Code)
Gets file name. file name



getFileType
public String getFileType()(Code)
Gets the current file type - Delimited or FixedWidth String representing current file type, one of 'Delimited' or 'FixedWidth'



getForeignKey
public ForeignKey getForeignKey(String keyName)(Code)
Gets ForeignKey instance, if any, with the given name and associated with this table. ForeignKey instance, or null if no such key exists with the namekeyname



getForeignKeys
public List getForeignKeys()(Code)
Gets List, possibly empty, of foreign keys associated with this table. List, possibly empty, of associated foreign keys



getIndex
public Index getIndex(String name)(Code)
Gets Index instance, if any, associated with the given name.
Parameters:
  name - name of index to get Index instance, or null if no such Index exists with the namename



getIndexes
public List getIndexes()(Code)
Gets List, possibly empty, of Indexes associated with this table. List, possibly empty, of assocaited Index objects



getMaxFaults
public Integer getMaxFaults()(Code)
Gets threshold number of faults, above which further parsing/execution should be halted. Integer representing maximum number of parsing faults to tolerate beforeraising an exception.



getName
public String getName()(Code)
Gets name of this instance - ordinarily the same as getTableName(). name
See Also:   FlatfileTable.getTableName()



getPrimaryKey
public PrimaryKey getPrimaryKey()(Code)
Gets PrimaryKey instance, if any, associated with this table. PrimaryKey instance, or null if no PK exists



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



getRecordDelimiter
public String getRecordDelimiter()(Code)
Gets the character(s) used to delimit records in this file. record delimiter string



getRowsToSkip
public Integer getRowsToSkip()(Code)
Gets number of rows to skip as header information (non-data) Integer representing rows to skip



getSchema
public String getSchema()(Code)
Gets schema, if any, with which the table is associated. name of associated schema; may return "" if value is null or emptystring



getSelectStatementSQL
public String getSelectStatementSQL(int rows)(Code)
Gets the SQL select statement to retrieve a result set displaying this file's contents, using the given value as a limit to the number of rows returned.
Parameters:
  rowCount - number of rows to display; 0 returns all available rows SQL statement to select the contents of this file in the column orderspecified by this instance's FlatfileFields.



getSource
final public FlatfileDBTable getSource()(Code)
Gets instance of FlatfileDBTble wrapped by this object. FlatfileDBTable associated with this instance



getTableName
public String getTableName()(Code)
Gets table name associated with this flatfile. table name



isFirstLineHeader
public boolean isFirstLineHeader()(Code)
Indicates whether the first physical record of the flatfile contains field header information. true if first physical record contains field header information; falseotherwise



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)

ww_w_._j_av___a___2_s.co_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.