|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.jdbc.schema.NameSet
public class NameSet
Name sets track what names have been taken, ignoring case.
SchemaGroups implement this interface for tables, indexes, and
constraints; Tables implement it for their columns.
| Constructor Summary | |
|---|---|
NameSet()
|
|
| Method Summary | |
|---|---|
protected void |
addName(DBIdentifier name,
boolean validate)
Attempt to add the given name to the set. |
protected void |
addName(String name,
boolean validate)
Deprecated. |
boolean |
isNameTaken(DBIdentifier name)
|
boolean |
isNameTaken(String name)
Deprecated. |
protected void |
removeName(DBIdentifier name)
Remove the given name from the table. |
protected void |
removeName(String name)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameSet()
| Method Detail |
|---|
public boolean isNameTaken(String name)
public boolean isNameTaken(DBIdentifier name)
protected void addName(String name,
boolean validate)
protected void addName(DBIdentifier name,
boolean validate)
name - the name to addvalidate - if true, null or empty names will not be acceptedprotected void removeName(String name)
protected void removeName(DBIdentifier name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||