-
- All Known Implementing Classes:
NameVerifierImpl
public interface NameVerifierEnforces application specific rules for names.
This is an additional check to the backend rules.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static NameVerifiergetInstance()The singleton.StringverifyAttributeName(Attribute attribute)Verifies the Java name of an attribute.StringverifyColumnName(Attribute attribute)Verifies the column name of an attribute.StringverifyEntityName(Entity entity)Verifies the Java name of an entity.StringverifyIndexName(Index index)Verifies the name of an index.StringverifyTableAlias(Entity entity)Verifies the table alias of an entity.StringverifyTableName(Entity entity)Verifies the table name of an entity.
-
-
-
Method Detail
-
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
-
-