- All Known Implementing Classes:
NameVerifierImpl
public interface NameVerifier
Enforces application specific rules for names.
This is an additional check to the backend rules.
This is an additional check to the backend rules.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NameVerifierThe singleton.verifyAttributeName(Attribute attribute) Verifies the Java name of an attribute.verifyColumnName(Attribute attribute) Verifies the column name of an attribute.verifyEntityName(Entity entity) Verifies the Java name of an entity.verifyIndexName(Index index) Verifies the name of an index.verifyTableAlias(Entity entity) Verifies the table alias of an entity.verifyTableName(Entity entity) Verifies the table name of an entity.
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
verifyEntityName
Verifies the Java name of an entity.- Parameters:
entity- the entity- Returns:
- null if ok, else a diagnostic message
-
verifyTableName
Verifies the table name of an entity.- Parameters:
entity- the entity- Returns:
- null if ok, else a diagnostic message
-
verifyTableAlias
Verifies the table alias of an entity.- Parameters:
entity- the entity- Returns:
- null if ok, else a diagnostic message
-
verifyAttributeName
Verifies the Java name of an attribute.- Parameters:
attribute- the attribute- Returns:
- null if ok, else a diagnostic message
-
verifyColumnName
Verifies the column name of an attribute.- Parameters:
attribute- the attribute- Returns:
- null if ok, else a diagnostic message
-
verifyIndexName
Verifies the name of an index.- Parameters:
index- the index- Returns:
- null if ok, else a diagnostic message
-