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

dev.struchkov.haiti.utils.fieldconstants.domain.mode.table.JoinTableContainer Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package dev.struchkov.haiti.utils.fieldconstants.domain.mode.table;

import dev.struchkov.haiti.utils.Inspector;

public class JoinTableContainer {

    private String table;
    private String baseId;
    private String reference;

    private JoinTableContainer(String table, String baseId, String reference) {
        this.table = table;
        this.baseId = baseId;
        this.reference = reference;
    }

    public static JoinTableContainer of(String table, String baseId, String reference) {
        Inspector.isNotNull(table, baseId, reference);
        return new JoinTableContainer(table, baseId, reference);
    }

    public String getTable() {
        return table;
    }

    public String getBaseId() {
        return baseId;
    }

    public String getReference() {
        return reference;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy