com.mortbay.JDBC
Class Key
java.lang.Object
|
+--com.mortbay.JDBC.ColumnGroup
|
+--com.mortbay.JDBC.Key
- public class Key
- extends ColumnGroup
A specialized Column group representing a Table Key
A Key is a ColumnGroup where all columns are Keys of a table.
The main extra ability of a Key ColumnGroup is to be passed to
methods on Table.
Notes
Usage
- Version:
- $Id: Key.java,v 2.1 1999/09/22 15:08:40 gregw Exp $
- Author:
- Jan Bartel
Constructor Summary |
Key(java.lang.String name,
Column[] columns)
|
Method Summary |
boolean |
isPrimary()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Key
public Key(java.lang.String name,
Column[] columns)
throws NonKeyException
isPrimary
public boolean isPrimary()
main
public static void main(java.lang.String[] args)