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

io.wizzie.enricher.model.JoinerModel Maven / Gradle / Ivy

There is a newer version: 0.5.1.1
Show newest version
package io.wizzie.enricher.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import static com.cookingfox.guava_preconditions.Preconditions.checkNotNull;

public class JoinerModel {
    String name;
    String className;

    @JsonCreator
    public JoinerModel(@JsonProperty("name") String name,
                       @JsonProperty("className") String className) {
        checkNotNull(name, "name cannot be null");
        checkNotNull(className, "className cannot be null");

        this.name = name;
        this.className = className;
    }

    @JsonProperty
    public String getName() {
        return name;
    }

    @JsonProperty
    public String getClassName() {
        return className;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy