com.netgrif.application.engine.importer.model.Behavior 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 behavior.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="behavior">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="forbidden"/>
* <enumeration value="hidden"/>
* <enumeration value="visible"/>
* <enumeration value="editable"/>
* <enumeration value="required"/>
* <enumeration value="immediate"/>
* <enumeration value="optional"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "behavior")
@XmlEnum
public enum Behavior {
@XmlEnumValue("forbidden")
FORBIDDEN("forbidden"),
@XmlEnumValue("hidden")
HIDDEN("hidden"),
@XmlEnumValue("visible")
VISIBLE("visible"),
@XmlEnumValue("editable")
EDITABLE("editable"),
@XmlEnumValue("required")
REQUIRED("required"),
@XmlEnumValue("immediate")
IMMEDIATE("immediate"),
@XmlEnumValue("optional")
OPTIONAL("optional");
private final String value;
Behavior(String v) {
value = v;
}
public String value() {
return value;
}
public static Behavior fromValue(String v) {
for (Behavior c: Behavior.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy