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

All known Subclasses:   org.netbeans.modules.sql.framework.model.impl.ForeignKeyImpl,
ForeignKey
public interface ForeignKey extends Cloneable(Code)
Interface describing foreign-key metadata for data sources providing information in a database or database-like format. Implementing classes must support the Cloneable interface.
author:
   Jonathan Giron




Method Summary
public  booleancontains(String fkColumnName)
     Indicates whether this ForeignKey contains the column represented by the given name.
public  booleancontains(DBColumn fkCol)
     Indicates whether this ForeignKey contains the given column.
public  intgetColumnCount()
     Gets count of columns participating in this ForeignKey.
public  StringgetColumnName(int iColumn)
     Gets name of the column positioned as the iColumn-th column, if any, participating in this ForeignKey.
public  List<String>getColumnNames()
     Gets read-only List of Strings (in sequential order) representing names of columns comprising this ForeignKey.
public  intgetDeferrability()
     Gets enumerated deferrability rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData.
public  intgetDeleteRule()
     Gets enumerated delete rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData.
public  StringgetMatchingPKColumn(String fkColumnName)
     Gets name of PK column, if any, which the FK column (represented by the given column name) references.
public  StringgetName()
     Gets user-defined name for this Foreign Key.
public  StringgetPKCatalog()
     Gets name of catalog, if any, to which PK table belongs.
public  List<String>getPKColumnNames()
     Gets read-only List of Strings (in key sequence order) representing names of PK columns referenced by elements of this ForeignKey.
public  StringgetPKName()
    
public  StringgetPKSchema()
     Gets name of schema, if any, to which PK table belongs.
public  StringgetPKTable()
     Gets name of table containing PK columns referenced by this ForeignKey.
public  DBTablegetParent()
     Gets reference to DBTable that owns this primary key.
public  intgetSequence(DBColumn col)
     Gets ordinal (base-one) sequence of the given DBColumn in this FK, provided it is part of this FK.
public  intgetUpdateRule()
     Gets enumerated update rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData.
public  booleanreferences(PrimaryKey pk)
     Indicates whether this ForeignKey references columns in the DBTable represented by the given tuple of (table name, schema name, catalog name).



Method Detail
contains
public boolean contains(String fkColumnName)(Code)
Indicates whether this ForeignKey contains the column represented by the given name.
Parameters:
  fkColumnName - name of column to test true if this ForeignKey contains the column referenced by fkColumnName, false otherwise.



contains
public boolean contains(DBColumn fkCol)(Code)
Indicates whether this ForeignKey contains the given column.
Parameters:
  fkCol - ETLColumn to test true if this ForeignKey contains fkCol, false otherwise



getColumnCount
public int getColumnCount()(Code)
Gets count of columns participating in this ForeignKey. column count



getColumnName
public String getColumnName(int iColumn)(Code)
Gets name of the column positioned as the iColumn-th column, if any, participating in this ForeignKey. iColumn ranges from 1 (first column) to n, where n is the total number of columns in this ForeignKey.
Parameters:
  iColumn - index of column whose name is requested name of iColumn-th DBColumn in this ForeignKey, or null if no column exists at the given position.



getColumnNames
public List<String> getColumnNames()(Code)
Gets read-only List of Strings (in sequential order) representing names of columns comprising this ForeignKey. List of column names



getDeferrability
public int getDeferrability()(Code)
Gets enumerated deferrability rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData. int value representing associated deferrability rule
See Also:   java.sql.DatabaseMetaData



getDeleteRule
public int getDeleteRule()(Code)
Gets enumerated delete rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData. int value representing associated delete rule
See Also:   java.sql.DatabaseMetaData



getMatchingPKColumn
public String getMatchingPKColumn(String fkColumnName)(Code)
Gets name of PK column, if any, which the FK column (represented by the given column name) references.
Parameters:
  fkColumnName - name of FK column whose referenced PK column is tobe retrieved name of matching PK column, or null if fkColumnName is not an FKcolumn



getName
public String getName()(Code)
Gets user-defined name for this Foreign Key. FK name



getPKCatalog
public String getPKCatalog()(Code)
Gets name of catalog, if any, to which PK table belongs. catalog name for PK table; null if no catalog name is defined



getPKColumnNames
public List<String> getPKColumnNames()(Code)
Gets read-only List of Strings (in key sequence order) representing names of PK columns referenced by elements of this ForeignKey. List of PK column names referenced by this ForeignKey



getPKName
public String getPKName()(Code)
Gets name, if any, of associated primary key name of this primary key; may be null if no name exists for the PK



getPKSchema
public String getPKSchema()(Code)
Gets name of schema, if any, to which PK table belongs. schema name for PK table; null if no schema name is defined



getPKTable
public String getPKTable()(Code)
Gets name of table containing PK columns referenced by this ForeignKey. PK table name



getParent
public DBTable getParent()(Code)
Gets reference to DBTable that owns this primary key. parent DBTable



getSequence
public int getSequence(DBColumn col)(Code)
Gets ordinal (base-one) sequence of the given DBColumn in this FK, provided it is part of this FK. The return value ranges from 1 (first column) to n, where n is the total number of columns in this ForeignKey, or -1 if col is not part of the ForeignKey.
Parameters:
  col - DBColumn whose sequence is requested ordinal sequence of col, starting with 1 if the column is the first in a composite key; -1 if col does not participate in this ForeignKey



getUpdateRule
public int getUpdateRule()(Code)
Gets enumerated update rule associated with columns of this ForeignKey, as defined in java.sql.DatabaseMetaData. int value representing associated update rule
See Also:   java.sql.DatabaseMetaData



references
public boolean references(PrimaryKey pk)(Code)
Indicates whether this ForeignKey references columns in the DBTable represented by the given tuple of (table name, schema name, catalog name).
Parameters:
  pk - PrimaryKey whose relationship to this FK is to be tested true if this FK references columns in pk; false otherwise



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