java.lang.Object
org.seasar.doma.jdbc.Naming.Adapter
- All Implemented Interfaces:
Naming
- Enclosing interface:
- Naming
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.seasar.doma.jdbc.Naming
Naming.Adapter -
Field Summary
FieldsFields inherited from interface org.seasar.doma.jdbc.Naming
DEFAULT, LOWER_CASE, NONE, SNAKE_LOWER_CASE, SNAKE_UPPER_CASE, UPPER_CASE -
Method Summary
Modifier and TypeMethodDescriptionapply(NamingType namingType, String text) Applies the naming convention.revert(NamingType namingType, String text) Reverts the text to the original as much as possible.
-
Field Details
-
namingType
-
-
Method Details
-
apply
Description copied from interface:NamingApplies the naming convention.- Specified by:
applyin interfaceNaming- Parameters:
namingType- the naming convention. If this parameter isnull,Entity.naming()does not have explicit value.text- the text- Returns:
- the converted text
-
revert
Description copied from interface:NamingReverts the text to the original as much as possible.- Specified by:
revertin interfaceNaming- Parameters:
namingType- the naming convention. If this parameter isnull,Entity.naming()does not have explicit value.text- the text that is converted by this convention- Returns:
- the original
-