Class NameSet

java.lang.Object
org.apache.openjpa.jdbc.schema.NameSet
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SchemaGroup, Table

public class NameSet extends Object implements Serializable
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.
Author:
Abe White
See Also:
  • Constructor Details

    • NameSet

      public NameSet()
  • Method Details

    • isNameTaken

      @Deprecated public boolean isNameTaken(String name)
      Deprecated.
      Return true if the given name is in use already.
    • isNameTaken

      public boolean isNameTaken(DBIdentifier name)
    • addName

      @Deprecated protected void addName(String name, boolean validate)
      Deprecated.
    • addName

      protected void addName(DBIdentifier 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

      @Deprecated protected void removeName(String name)
      Deprecated.
    • removeName

      protected void removeName(DBIdentifier name)
      Remove the given name from the table.