no.ks.fiks.innsyn.schema.ekstern.domain.SaksmappeSakstatusV1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of innsyn-json-schema Show documentation
Show all versions of innsyn-json-schema Show documentation
JSON schema-modeller for indeksering mot Fiks Innsyn
package no.ks.fiks.innsyn.schema.ekstern.domain;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public enum SaksmappeSakstatusV1 {
UNDER_BEHANDLING("UNDER_BEHANDLING"),
AVSLUTTET("AVSLUTTET"),
UTGAR("UTGAR");
private final String value;
private final static Map CONSTANTS = new HashMap();
static {
for (SaksmappeSakstatusV1 c: values()) {
CONSTANTS.put(c.value, c);
}
}
private SaksmappeSakstatusV1(String value) {
this.value = value;
}
@Override
public String toString() {
return this.value;
}
@JsonValue
public String value() {
return this.value;
}
@JsonCreator
public static SaksmappeSakstatusV1 fromValue(String value) {
SaksmappeSakstatusV1 constant = CONSTANTS.get(value);
if (constant == null) {
throw new IllegalArgumentException(value);
} else {
return constant;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy