Package org.apache.openjpa.jdbc.schema
Class NameSet
java.lang.Object
org.apache.openjpa.jdbc.schema.NameSet
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaGroup
,Table
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.- Author:
- Abe White
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated.protected void
addName
(DBIdentifier name, boolean validate) Attempt to add the given name to the set.boolean
isNameTaken
(String name) Deprecated.boolean
isNameTaken
(DBIdentifier name) protected void
removeName
(String name) Deprecated.protected void
removeName
(DBIdentifier name) Remove the given name from the table.
-
Constructor Details
-
NameSet
public NameSet()
-
-
Method Details
-
isNameTaken
Deprecated.Return true if the given name is in use already. -
isNameTaken
-
addName
Deprecated. -
addName
Attempt to add the given name to the set.- Parameters:
name
- the name to addvalidate
- if true, null or empty names will not be accepted
-
removeName
Deprecated. -
removeName
Remove the given name from the table.
-