de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables.StaLinkTableDynamic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of FROST-Server.SQLjooq Show documentation
Show all versions of FROST-Server.SQLjooq Show documentation
SQL bindings for the FROST-Server.
/*
* Copyright (C) 2024 Fraunhofer Institut IOSB, Fraunhoferstr. 1, D 76131
* Karlsruhe, Germany.
*
* This program 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 program 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 program. If not, see .
*/
package de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.tables;
import org.jooq.Name;
/**
*
* @author hylke
*/
public class StaLinkTableDynamic extends StaLinkTable {
private final Name tableName;
private int idFieldIdx;
public StaLinkTableDynamic(Name tableName) {
super(tableName, null);
this.tableName = tableName;
}
private StaLinkTableDynamic(Name alias, StaLinkTableDynamic aliased, int idFieldIdx) {
super(alias, aliased);
this.tableName = aliased.getTableName();
this.idFieldIdx = idFieldIdx;
}
public Name getTableName() {
return tableName;
}
@Override
public StaLinkTableDynamic as(Name as) {
return new StaLinkTableDynamic(as, this, idFieldIdx).initCustomFields();
}
@Override
public StaLinkTableDynamic getThis() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy