com.netgrif.application.engine.importer.model.FinishPolicy Maven / Gradle / Ivy
package com.netgrif.application.engine.importer.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for finishPolicy.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="finishPolicy">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="auto_no_data"/>
* <enumeration value="manual"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "finishPolicy")
@XmlEnum
public enum FinishPolicy {
@XmlEnumValue("auto_no_data")
AUTO_NO_DATA("auto_no_data"),
@XmlEnumValue("manual")
MANUAL("manual");
private final String value;
FinishPolicy(String v) {
value = v;
}
public String value() {
return value;
}
public static FinishPolicy fromValue(String v) {
for (FinishPolicy c: FinishPolicy.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy