
org.metadatacenter.model.IsSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cedar-model-library Show documentation
Show all versions of cedar-model-library Show documentation
Library that defines model-related constants
The newest version!
package org.metadatacenter.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public enum IsSystem {
TRUE(true), FALSE(false);
private final boolean value;
IsSystem(boolean value) {
this.value = value;
}
@JsonValue
public boolean getValue() {
return value;
}
@JsonCreator
public static IsSystem forValue(boolean value) {
for (IsSystem t : values()) {
if (t.getValue() == value) {
return t;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy