Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.jdbc.schema
Class NameSet

    java.lang.Object
      |
      +--kodo.jdbc.schema.NameSet

Direct Known Subclasses:
  SchemaGroup, Table

public class NameSet
extends Object

Name sets track what names have been taken, ignoring case. `SchemaGroup`s implement this interface for tables, indexes, and constraints; `Table`s implement it for their columns.

Constructor Summary
`NameSet()`

Method Summary
`protected void` | `addName(String name, boolean validate)` Attempt to add the given name to the set.
`boolean` | `isNameTaken(String name)` Return true if the given name is in use already.
`protected void` | `removeName(String name)` Remove the given name from the table.

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

Constructor Detail

### NameSet

    public NameSet()

Method Detail

### isNameTaken

    public boolean isNameTaken(String name)

  Return true if the given name is in use already.

### addName

    protected void addName(String name,
                           boolean validate)

  Attempt to add the given name to the set.
  Parameters:
    `name` - the name to add
    `validate` - if true, null or empty names will not be accepted

### removeName

    protected void removeName(String name)

  Remove the given name from the table.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.