mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged CMIS063 to HEAD
15463: Fixed MOB-1100: Update Web Services to 0.62 final git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
|
||||
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 enumCapabilityContentStreamUpdates.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumCapabilityContentStreamUpdates">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="anytime"/>
|
||||
* <enumeration value="pwc-only"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCapabilityContentStreamUpdates", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCapabilityContentStreamUpdates {
|
||||
|
||||
@XmlEnumValue("anytime")
|
||||
ANYTIME("anytime"),
|
||||
@XmlEnumValue("pwc-only")
|
||||
PWC_ONLY("pwc-only");
|
||||
private final String value;
|
||||
|
||||
EnumCapabilityContentStreamUpdates(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static EnumCapabilityContentStreamUpdates fromValue(String v) {
|
||||
for (EnumCapabilityContentStreamUpdates c: EnumCapabilityContentStreamUpdates.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user