All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ydb.yoj.databind.schema.naming.NamingStrategy Maven / Gradle / Ivy

Go to download

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