All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.chemistry.opencmis.commons.impl.jaxb.EnumServiceException Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version

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 enumServiceException. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="enumServiceException">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="constraint"/>
 *     <enumeration value="nameConstraintViolation"/>
 *     <enumeration value="contentAlreadyExists"/>
 *     <enumeration value="filterNotValid"/>
 *     <enumeration value="invalidArgument"/>
 *     <enumeration value="notSupported"/>
 *     <enumeration value="objectNotFound"/>
 *     <enumeration value="permissionDenied"/>
 *     <enumeration value="runtime"/>
 *     <enumeration value="storage"/>
 *     <enumeration value="streamNotSupported"/>
 *     <enumeration value="updateConflict"/>
 *     <enumeration value="versioning"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumServiceException") @XmlEnum public enum EnumServiceException { @XmlEnumValue("constraint") CONSTRAINT("constraint"), @XmlEnumValue("nameConstraintViolation") NAME_CONSTRAINT_VIOLATION("nameConstraintViolation"), @XmlEnumValue("contentAlreadyExists") CONTENT_ALREADY_EXISTS("contentAlreadyExists"), @XmlEnumValue("filterNotValid") FILTER_NOT_VALID("filterNotValid"), @XmlEnumValue("invalidArgument") INVALID_ARGUMENT("invalidArgument"), @XmlEnumValue("notSupported") NOT_SUPPORTED("notSupported"), @XmlEnumValue("objectNotFound") OBJECT_NOT_FOUND("objectNotFound"), @XmlEnumValue("permissionDenied") PERMISSION_DENIED("permissionDenied"), @XmlEnumValue("runtime") RUNTIME("runtime"), @XmlEnumValue("storage") STORAGE("storage"), @XmlEnumValue("streamNotSupported") STREAM_NOT_SUPPORTED("streamNotSupported"), @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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy