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

io.github.epi155.emsql.plugin.td.TdOutput Maven / Gradle / Ivy

Go to download

Generate DAO classes with JDBC code and DTO interfaces from YAML configuration files

The newest version!
package io.github.epi155.emsql.plugin.td;

import io.github.epi155.emsql.api.CodeFactory;
import io.github.epi155.emsql.api.OutputModel;
import org.yaml.snakeyaml.TypeDescription;
import org.yaml.snakeyaml.nodes.Node;

public class TdOutput extends TypeDescription {
    private final CodeFactory factory;

    public TdOutput(CodeFactory factory) {
        super(OutputModel.class);
        this.factory = factory;
    }
    public Object newInstance(Node node) {
        return factory.newOutputModel();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy