public class NameSet extends Object implements 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(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.
|
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)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.