mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
14095 CMIS 0.61 Web Services Including Tests & JavaClient 14123 Several Minor Fixes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
61 lines
1.6 KiB
Java
Executable File
61 lines
1.6 KiB
Java
Executable File
|
|
package org.alfresco.repo.cmis.ws;
|
|
|
|
import javax.xml.bind.annotation.XmlEnum;
|
|
import javax.xml.bind.annotation.XmlEnumValue;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
|
|
/**
|
|
* <p>Java class for enumCapabilityQuery.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
* <p>
|
|
* <pre>
|
|
* <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>
|
|
* </pre>
|
|
*
|
|
*/
|
|
@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
|
@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);
|
|
}
|
|
|
|
}
|