-
- 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.java.lang.StringverifyAttributeName(Attribute attribute)Verifies the Java name of an attribute.java.lang.StringverifyColumnName(Attribute attribute)Verifies the column name of an attribute.java.lang.StringverifyEntityName(Entity entity)Verifies the Java name of an entity.java.lang.StringverifyIndexName(Index index)Verifies the name of an index.java.lang.StringverifyTableAlias(Entity entity)Verifies the table alias of an entity.java.lang.StringverifyTableName(Entity entity)Verifies the table name of an entity.
-
-
-
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
-
-