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

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




Method Summary
public  booleancontains(String columnName)
     Indicates whether this primary key contains the column represented by the given name.
public  booleancontains(DBColumn col)
     Indicates whether this primary key contains the given column.
public  intgetColumnCount()
     Gets count of columns participating in this PrimaryKey.
public  List<String>getColumnNames()
     Gets read-only List of Strings (in key sequence order) representing names of columns referenced in this PrimaryKey.
public  StringgetDBColumnName(int iColumn)
     Gets name of the DBColumn positioned as the iColumn-th column, if any, participating in this PrimaryKey.
public  StringgetName()
     Gets (optional) name of this primary key.
public  DBTablegetParent()
     Gets reference to DBTable that owns this primary key.
public  intgetSequence(String columnName)
     Gets ordinal (base-one) sequence of the column referenced by the given columnName in this PrimaryKey, provided the column is actually part of this PK.
public  intgetSequence(DBColumn col)
     Gets ordinal (base-one) sequence of the given DBColumn, provided it is participating in this PK.
public  booleanisReferencedBy(ForeignKey fk)
     Indicates whether this PrimaryKey is referenced by the given ForeignKey.
Parameters:
  fk - ForeignKey whose references are to be tested.



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



contains
public boolean contains(DBColumn col)(Code)
Indicates whether this primary key contains the given column.
Parameters:
  col - DBColumn to test true if this PrimaryKey contains col, false otherwise



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



getColumnNames
public List<String> getColumnNames()(Code)
Gets read-only List of Strings (in key sequence order) representing names of columns referenced in this PrimaryKey. List of ColumnReference instances



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



getName
public String getName()(Code)
Gets (optional) name of this primary key. name of PK, or null if none was defined



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



getSequence
public int getSequence(String columnName)(Code)
Gets ordinal (base-one) sequence of the column referenced by the given columnName in this PrimaryKey, provided the column is actually part of this PK. The return value ranges from 1 (first column) to n, where n is the total number of columns in this PrimaryKey, or -1 if the column referenced by given columnName is not part of this PrimaryKey.
Parameters:
  columnName - name of column whose sequence is requested ordinal sequence of column referenced by columnName, starting with 1 if the column is the first in a composite key; -1 if the column is not part of this PrimaryKey



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



isReferencedBy
public boolean isReferencedBy(ForeignKey fk)(Code)
Indicates whether this PrimaryKey is referenced by the given ForeignKey.
Parameters:
  fk - ForeignKey whose references are to be tested. true if fk references this PrimaryKey, 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.