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

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

*

 * <simpleType name="enumUpdateability">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="readonly"/>
 *     <enumeration value="readwrite"/>
 *     <enumeration value="whencheckedout"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumUpdateability") @XmlEnum public enum EnumUpdateability { @XmlEnumValue("readonly") READONLY("readonly"), @XmlEnumValue("readwrite") READWRITE("readwrite"), @XmlEnumValue("whencheckedout") WHENCHECKEDOUT("whencheckedout"); private final String value; EnumUpdateability(String v) { value = v; } public String value() { return value; } public static EnumUpdateability fromValue(String v) { for (EnumUpdateability c: EnumUpdateability.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }