org.apache.openjpa.jdbc.schema
public class NameSet extends java.lang.Object implements java.io.Serializable
SchemaGroup
s implement this interface for tables, indexes, and
constraints; Table
s implement it for their columns.Constructor and Description |
---|
NameSet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addName(DBIdentifier name,
boolean validate)
Attempt to add the given name to the set.
|
protected void |
addName(java.lang.String name,
boolean validate)
Deprecated.
|
boolean |
isNameTaken(DBIdentifier name) |
boolean |
isNameTaken(java.lang.String name)
Deprecated.
|
protected void |
removeName(DBIdentifier name)
Remove the given name from the table.
|
protected void |
removeName(java.lang.String name)
Deprecated.
|
public boolean isNameTaken(java.lang.String name)
public boolean isNameTaken(DBIdentifier name)
protected void addName(java.lang.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(java.lang.String name)
protected void removeName(DBIdentifier name)