tech.ydb.yoj.databind.schema.naming.NamingStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoj-databind Show documentation
Show all versions of yoj-databind Show documentation
Core data-binding logic used by YOJ (YDB ORM for Java) to convert
between Java objects and database rows (or anything representable by
a Java Map, really).
The newest version!
package tech.ydb.yoj.databind.schema.naming;
import lombok.NonNull;
import tech.ydb.yoj.databind.schema.Schema.JavaField;
public interface NamingStrategy {
String NAME_DELIMITER = "_";
String getNameForClass(@NonNull Class> entityClass);
/**
* Assigns a name to a field in a schema.
*/
void assignFieldName(@NonNull JavaField javaField);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy