org.apache.chemistry.opencmis.commons.impl.jaxb.EnumCapabilityQuery Maven / Gradle / Ivy
package org.apache.chemistry.opencmis.commons.impl.jaxb;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for enumCapabilityQuery.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="enumCapabilityQuery">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="none"/>
* <enumeration value="metadataonly"/>
* <enumeration value="fulltextonly"/>
* <enumeration value="bothseparate"/>
* <enumeration value="bothcombined"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlEnum
public enum EnumCapabilityQuery {
@XmlEnumValue("none")
NONE("none"),
@XmlEnumValue("metadataonly")
METADATAONLY("metadataonly"),
@XmlEnumValue("fulltextonly")
FULLTEXTONLY("fulltextonly"),
@XmlEnumValue("bothseparate")
BOTHSEPARATE("bothseparate"),
@XmlEnumValue("bothcombined")
BOTHCOMBINED("bothcombined");
private final String value;
EnumCapabilityQuery(String v) {
value = v;
}
public String value() {
return value;
}
public static EnumCapabilityQuery fromValue(String v) {
for (EnumCapabilityQuery c: EnumCapabilityQuery.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy