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

dev.struchkov.haiti.utils.fieldconstants.domain.mode.table.JoinFieldDto 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 JoinFieldDto {

    private String fieldName;
    private JoinTableContainer container;

    private JoinFieldDto(String fieldName, JoinTableContainer container) {
        this.fieldName = fieldName;
        this.container = container;
    }

    public static JoinFieldDto of(String fieldName, JoinTableContainer container) {
        Inspector.isNotNull(fieldName, container);
        return new JoinFieldDto(fieldName, container);
    }

    public String getFieldName() {
        return fieldName;
    }

    public JoinTableContainer getContainer() {
        return container;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy