Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.query.validate
Interface Schemata.Key

All Known Implementing Classes:
  ImmutableKey

Enclosing interface:
  Schemata

    public static interface Schemata.Key

Information about a key for a table.

Method Summary
`Set<Schemata.Column>` | `getColumns()` Get the columns that make up this key.
`boolean` | `hasColumns(Iterable<Schemata.Column> columns)` Determine whether this key contains exactly those columns listed.
`boolean` | `hasColumns(Schemata.Column... columns)` Determine whether this key contains exactly those columns listed.

Method Detail

### getColumns

    Set<Schemata.Column> getColumns()

  Get the columns that make up this key.

  Returns:
    the key's columns; immutable and never null

### hasColumns

    boolean hasColumns(Schemata.Column... columns)

  Determine whether this key contains exactly those columns listed.

  Parameters:
    `columns` - the columns for the key
  Returns:
    true if this key contains exactly the supplied columns, or false otherwise

### hasColumns

    boolean hasColumns(Iterable<Schemata.Column> columns)

  Determine whether this key contains exactly those columns listed.

  Parameters:
    `columns` - the columns for the key
  Returns:
    true if this key contains exactly the supplied columns, or false otherwise

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.