Interface NameVerifier

All Known Implementing Classes:
NameVerifierImpl

public interface NameVerifier
Enforces application specific rules for names.
This is an additional check to the backend rules.
  • Method Details

    • getInstance

      static NameVerifier getInstance()
      The singleton.
      Returns:
      the singleton
    • verifyEntityName

      String verifyEntityName(Entity entity)
      Verifies the Java name of an entity.
      Parameters:
      entity - the entity
      Returns:
      null if ok, else a diagnostic message
    • verifyTableName

      String verifyTableName(Entity entity)
      Verifies the table name of an entity.
      Parameters:
      entity - the entity
      Returns:
      null if ok, else a diagnostic message
    • verifyTableAlias

      String verifyTableAlias(Entity entity)
      Verifies the table alias of an entity.
      Parameters:
      entity - the entity
      Returns:
      null if ok, else a diagnostic message
    • verifyAttributeName

      String verifyAttributeName(Attribute attribute)
      Verifies the Java name of an attribute.
      Parameters:
      attribute - the attribute
      Returns:
      null if ok, else a diagnostic message
    • verifyColumnName

      String verifyColumnName(Attribute attribute)
      Verifies the column name of an attribute.
      Parameters:
      attribute - the attribute
      Returns:
      null if ok, else a diagnostic message
    • verifyIndexName

      String verifyIndexName(Index index)
      Verifies the name of an index.
      Parameters:
      index - the index
      Returns:
      null if ok, else a diagnostic message