mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for deleteWithMultiFilingEnum.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="deleteWithMultiFilingEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="unfile"/>
|
||||
* <enumeration value="deleteSingleFiledDocs"/>
|
||||
* <enumeration value="delete"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlEnum
|
||||
public enum DeleteWithMultiFilingEnum {
|
||||
|
||||
@XmlEnumValue("delete")
|
||||
DELETE("delete"),
|
||||
@XmlEnumValue("deleteSingleFiledDocs")
|
||||
DELETE_SINGLE_FILED_DOCS("deleteSingleFiledDocs"),
|
||||
@XmlEnumValue("unfile")
|
||||
UNFILE("unfile");
|
||||
private final String value;
|
||||
|
||||
DeleteWithMultiFilingEnum(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static DeleteWithMultiFilingEnum fromValue(String v) {
|
||||
for (DeleteWithMultiFilingEnum c: DeleteWithMultiFilingEnum.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v.toString());
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user