package org.alfresco.repo.cmis.ws; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** *

Java class for enumContentStreamAllowed. * *

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

*

 * <simpleType name="enumContentStreamAllowed">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="notallowed"/>
 *     <enumeration value="allowed"/>
 *     <enumeration value="required"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumContentStreamAllowed") @XmlEnum public enum EnumContentStreamAllowed { @XmlEnumValue("notallowed") NOTALLOWED("notallowed"), @XmlEnumValue("allowed") ALLOWED("allowed"), @XmlEnumValue("required") REQUIRED("required"); private final String value; EnumContentStreamAllowed(String v) { value = v; } public String value() { return value; } public static EnumContentStreamAllowed fromValue(String v) { for (EnumContentStreamAllowed c: EnumContentStreamAllowed.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }