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 Detail

      • getInstance

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

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

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

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

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

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

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