mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged DEV/CMIS0_61 to HEAD (part 4)
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
This commit is contained in:
93
source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java
Executable file
93
source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java
Executable file
@@ -0,0 +1,93 @@
|
||||
|
||||
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 enumServiceException.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumServiceException">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="constraint"/>
|
||||
* <enumeration value="contentAlreadyExists"/>
|
||||
* <enumeration value="filterNotValid"/>
|
||||
* <enumeration value="folderNotValid"/>
|
||||
* <enumeration value="invalidArgument"/>
|
||||
* <enumeration value="notInFolder"/>
|
||||
* <enumeration value="objectNotFound"/>
|
||||
* <enumeration value="offset"/>
|
||||
* <enumeration value="notSupported"/>
|
||||
* <enumeration value="permissionDenied"/>
|
||||
* <enumeration value="runtime"/>
|
||||
* <enumeration value="storage"/>
|
||||
* <enumeration value="streamNotSupported"/>
|
||||
* <enumeration value="type"/>
|
||||
* <enumeration value="updateConflict"/>
|
||||
* <enumeration value="versioning"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumServiceException")
|
||||
@XmlEnum
|
||||
public enum EnumServiceException {
|
||||
|
||||
@XmlEnumValue("constraint")
|
||||
CONSTRAINT("constraint"),
|
||||
@XmlEnumValue("contentAlreadyExists")
|
||||
CONTENT_ALREADY_EXISTS("contentAlreadyExists"),
|
||||
@XmlEnumValue("filterNotValid")
|
||||
FILTER_NOT_VALID("filterNotValid"),
|
||||
@XmlEnumValue("folderNotValid")
|
||||
FOLDER_NOT_VALID("folderNotValid"),
|
||||
@XmlEnumValue("invalidArgument")
|
||||
INVALID_ARGUMENT("invalidArgument"),
|
||||
@XmlEnumValue("notInFolder")
|
||||
NOT_IN_FOLDER("notInFolder"),
|
||||
@XmlEnumValue("objectNotFound")
|
||||
OBJECT_NOT_FOUND("objectNotFound"),
|
||||
@XmlEnumValue("offset")
|
||||
OFFSET("offset"),
|
||||
@XmlEnumValue("notSupported")
|
||||
NOT_SUPPORTED("notSupported"),
|
||||
@XmlEnumValue("permissionDenied")
|
||||
PERMISSION_DENIED("permissionDenied"),
|
||||
@XmlEnumValue("runtime")
|
||||
RUNTIME("runtime"),
|
||||
@XmlEnumValue("storage")
|
||||
STORAGE("storage"),
|
||||
@XmlEnumValue("streamNotSupported")
|
||||
STREAM_NOT_SUPPORTED("streamNotSupported"),
|
||||
@XmlEnumValue("type")
|
||||
TYPE("type"),
|
||||
@XmlEnumValue("updateConflict")
|
||||
UPDATE_CONFLICT("updateConflict"),
|
||||
@XmlEnumValue("versioning")
|
||||
VERSIONING("versioning");
|
||||
private final String value;
|
||||
|
||||
EnumServiceException(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static EnumServiceException fromValue(String v) {
|
||||
for (EnumServiceException c: EnumServiceException.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user