Class ConvertSnakeCaseToCamelCase
java.lang.Object
com.northconcepts.datapipeline.foundations.tools.ConvertSnakeCaseToCamelCase
Renames schema definitions in place from database-style snake_case names to Java-style camel case.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityDefConverts the entity and super-entity names to UpperCamelCase, along with the entity's fields and indexes, in place.static EntityRelationshipDefconvert(EntityRelationshipDef entityRelationship) static FieldDefConverts the field name to lowerCamelCase, and a record field's referenced entity name to UpperCamelCase, in place.static IndexDefConverts the index name and its field names to lowerCamelCase, in place.static IndexFieldDefconvert(IndexFieldDef indexField) Converts the indexed field's name to lowerCamelCase, in place.static SchemaDefConverts the schema name to UpperCamelCase, along with its entities and relationships, in place.
-
Constructor Details
-
ConvertSnakeCaseToCamelCase
public ConvertSnakeCaseToCamelCase()
-
-
Method Details
-
convert
Converts the schema name to UpperCamelCase, along with its entities and relationships, in place. -
convert
Converts the entity and super-entity names to UpperCamelCase, along with the entity's fields and indexes, in place. -
convert
Converts the field name to lowerCamelCase, and a record field's referenced entity name to UpperCamelCase, in place. -
convert
-
convert
Converts the index name and its field names to lowerCamelCase, in place. -
convert
Converts the indexed field's name to lowerCamelCase, in place.
-