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

no.nav.vedtak.ytelse.v1.Fagsystem Maven / Gradle / Ivy

There is a newer version: 5.0_20191210082234_0bd32f2
Show newest version
package no.nav.vedtak.ytelse.v1;

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

import no.nav.vedtak.ytelse.Kodeverk;

public class Fagsystem extends Kodeverk {

    public static final Fagsystem FPSAK = new Fagsystem("FPSAK");
    private static final String DISCRIMINATOR = "FAGSYSTEM";

    @JsonCreator
    public Fagsystem(@JsonProperty(value = "kode", required = true) String kode) {
        super(DISCRIMINATOR, kode);
    }

    @Override
    public void setKodeverk(String kodeverk) {
        if (DISCRIMINATOR.equals(kodeverk)) {
            super.setKodeverk(kodeverk);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy