: Class Key

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Fields inherited from class com.mortbay.JDBC.ColumnGroup
`columns`

Constructor Summary
`Key(java.lang.String name, Column[] columns)`

Method Summary
`boolean` | `isPrimary()`
`static void` | `main(java.lang.String[] args)`

Methods inherited from class com.mortbay.JDBC.ColumnGroup
`column, getName, index, toString, toString, toString, toValuesString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Key

    public Key(java.lang.String name,
               Column[] columns)
        throws NonKeyException

Method Detail

### isPrimary

    public boolean isPrimary()

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD