com.netgrif.application.engine.importer.model.Scope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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 scope.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="scope">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="namespace"/>
* <enumeration value="process"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "scope")
@XmlEnum
public enum Scope {
@XmlEnumValue("namespace")
NAMESPACE("namespace"),
@XmlEnumValue("process")
PROCESS("process");
private final String value;
Scope(String v) {
value = v;
}
public String value() {
return value;
}
public static Scope fromValue(String v) {
for (Scope c: Scope.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy