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

de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables.StaTable Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
/*
 * Copyright (C) 2020 Fraunhofer Institut IOSB, Fraunhoferstr. 1, D 76131
 * Karlsruhe, Germany.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see .
 */
package de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables;

import org.jooq.Binding;
import org.jooq.DataType;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Table;
import org.jooq.impl.DSL;

/**
 *
 * @author hylke
 * @param  The exact type of the implementing class.
 */
public interface StaTable> extends Table {

    @Override
    public StaTable as(String name);

    public T getThis();

    public default int registerField(String name, DataType type) {
        return registerField(DSL.name(name), type, null);
    }

    public default int registerField(String name, DataType type, Binding binding) {
        return registerField(DSL.name(name), type, binding);
    }

    public default int registerField(Name name, DataType type) {
        return registerField(name, type, null);
    }

    public int registerField(Name name, DataType type, Binding binding);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy