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

db.sql.api.cmd.GetterField Maven / Gradle / Ivy

There is a newer version: 1.7.6-RC2
Show newest version
package db.sql.api.cmd;

import db.sql.api.Getter;

public class GetterField implements IColumnField {

    private final Getter getter;

    private final int storey;

    public GetterField(Getter getter) {
        this(getter, 1);
    }

    public GetterField(Getter getter, int storey) {
        this.getter = getter;
        this.storey = storey;
    }

    public static  GetterField create(Getter getter) {
        return create(getter, 1);
    }

    public static  GetterField create(Getter getter, int storey) {
        return new GetterField<>(getter, storey);
    }

    public Getter getGetter() {
        return getter;
    }

    public int getStorey() {
        return storey;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy