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


java.lang.Object
   org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel
      org.netbeans.modules.mashup.db.ui.wizard.FlatfileColumnTableModel

FlatfileColumnTableModel
public class FlatfileColumnTableModel extends RowEntryTableModel (Code)

author:
   Jonathan Giron
author:
   Ahimanikya Satapathy
version:
   $Revision$

Inner Class :public static class ColumnEntry implements RowEntryTableModel.RowEntry

Field Summary
final public static  intCOLUMN_DAFAULT
    
final public static  intCOLUMN_ID
    
final public static  intCOLUMN_ISNULLABLE
    
final public static  intCOLUMN_ISPK
    
final public static  intCOLUMN_JDBCTYPE
    
final public static  intCOLUMN_NAME
    
final public static  intCOLUMN_PRECLENGTH
    
final public static  intCOLUMN_SCALE
    

Constructor Summary
public  FlatfileColumnTableModel(Collection columns, List columnNames)
     Create new instance of FlatfileColumnTableModel representing the given Collection of FlatfileDBColumn instances and using header information in the given Map.
public  FlatfileColumnTableModel(FlatfileDBTable aTable, List columnNames)
     Create new instance of FlatfileColumnTableModel representing the given Flatfile instance and using header information in the given Map.

Method Summary
public  ListconvertToFieldEntries(Collection columns)
     Converts the FlatfileDBColumn instances in the given Collection to ColumnEntry instances that are compatible with this model.
public synchronized  ListgetRowEntries()
    
public synchronized  ListgetRowEntries(int[] indices)
    
public  ListgetRowIdsWithInvalidNames()
     Gets List of ordinal position IDs of fields, if any, which have invalid names.
public  booleanhasZeroLengthColumns()
     Indicates whether the model contains at least one column with a column length value of zero.
public  voidsetEntryEditable(int index, boolean newValue)
     Sets editability of column names in this model.
public synchronized  voidsetRowEntries(Collection columns)
    
public  voidupdateColumns(FlatfileDBTable table)
     Updates the given FlatfileDBTable instance to hold FlatfileDBColumn instances which are defined by this model's current set of row entries.

Field Detail
COLUMN_DAFAULT
final public static int COLUMN_DAFAULT(Code)



COLUMN_ID
final public static int COLUMN_ID(Code)



COLUMN_ISNULLABLE
final public static int COLUMN_ISNULLABLE(Code)



COLUMN_ISPK
final public static int COLUMN_ISPK(Code)



COLUMN_JDBCTYPE
final public static int COLUMN_JDBCTYPE(Code)



COLUMN_NAME
final public static int COLUMN_NAME(Code)



COLUMN_PRECLENGTH
final public static int COLUMN_PRECLENGTH(Code)



COLUMN_SCALE
final public static int COLUMN_SCALE(Code)




Constructor Detail
FlatfileColumnTableModel
public FlatfileColumnTableModel(Collection columns, List columnNames)(Code)
Create new instance of FlatfileColumnTableModel representing the given Collection of FlatfileDBColumn instances and using header information in the given Map.
Parameters:
  columns - Collection of FlatfileDBColumns containing model data
Parameters:
  columnNames - List of display header names for the various table columns



FlatfileColumnTableModel
public FlatfileColumnTableModel(FlatfileDBTable aTable, List columnNames)(Code)
Create new instance of FlatfileColumnTableModel representing the given Flatfile instance and using header information in the given Map.
Parameters:
  aTable - FlatfileDBTable containing our data
Parameters:
  columnNames - List of display header names for the various table columns




Method Detail
convertToFieldEntries
public List convertToFieldEntries(Collection columns)(Code)
Converts the FlatfileDBColumn instances in the given Collection to ColumnEntry instances that are compatible with this model.
Parameters:
  columns - Collection of FlatfileDBColumn instances to be converted List of ColumnEntry instances based on the contents of columns



getRowEntries
public synchronized List getRowEntries()(Code)

See Also:   org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel.getRowEntries



getRowEntries
public synchronized List getRowEntries(int[] indices)(Code)

See Also:   org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel.getRowEntries(int[])



getRowIdsWithInvalidNames
public List getRowIdsWithInvalidNames()(Code)
Gets List of ordinal position IDs of fields, if any, which have invalid names. List (possibly empty) containing Integer instances, each of which holds theordinal position of a column with an invalid name.



hasZeroLengthColumns
public boolean hasZeroLengthColumns()(Code)
Indicates whether the model contains at least one column with a column length value of zero. true if at least one column in this model has a length value of zero; falseotherwise.



setEntryEditable
public void setEntryEditable(int index, boolean newValue)(Code)
Sets editability of column names in this model.
Parameters:
  newValue - true if column name is editable, false otherwise



setRowEntries
public synchronized void setRowEntries(Collection columns)(Code)

See Also:   org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel.setRowEntries(List)



updateColumns
public void updateColumns(FlatfileDBTable table)(Code)
Updates the given FlatfileDBTable instance to hold FlatfileDBColumn instances which are defined by this model's current set of row entries.
Parameters:
  table - FlatfileDBTable whose columns will be populated with the contents ofthis model



Fields inherited from org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel
protected String[] columnHeaders(Code)(Java Doc)
protected boolean[] editable(Code)(Java Doc)
protected ArrayList rows(Code)(Java Doc)

Methods inherited from org.netbeans.modules.mashup.db.ui.wizard.RowEntryTableModel
public void addRowEntry(RowEntry newData)(Code)(Java Doc)
public void addTableModelListener(TableModelListener l)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public void fireTableDataChanged()(Code)(Java Doc)
public Class getColumnClass(int columnIndex)(Code)(Java Doc)
public int getColumnCount()(Code)(Java Doc)
public String getColumnName(int columnIndex)(Code)(Java Doc)
public int getRowCount()(Code)(Java Doc)
public synchronized List getRowEntries()(Code)(Java Doc)
public synchronized List getRowEntries(int[] indices)(Code)(Java Doc)
public RowEntry getRowEntry(int rowIndex)(Code)(Java Doc)
public Object getValueAt(int rowIndex, int columnIndex)(Code)(Java Doc)
public boolean isCellEditable(int rowIndex, int columnIndex)(Code)(Java Doc)
public boolean isDuplicated(RowEntry aRow, Comparator comparator)(Code)(Java Doc)
public void removeTableModelListener(TableModelListener l)(Code)(Java Doc)
public synchronized void setRowEntries(Collection rowEntries)(Code)(Java Doc)
public void setValueAt(Object aValue, int rowIndex, int columnIndex)(Code)(Java Doc)

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)

w___w___w_.__j__ava__2s__.___c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.