Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java
David Caruana d6b8ce91a5 Merged CMIS063 to HEAD
16930: MOB-1330: Upgrade Web Services Repository to 0.7

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-29 18:40:59 +00:00

55 lines
1.5 KiB
Java
Executable File

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 enumPropertiesFolder.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="enumPropertiesFolder">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="cmis:parentId"/>
* &lt;enumeration value="cmis:allowedChildObjectTypeIds"/>
* &lt;enumeration value="cmis:path"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "enumPropertiesFolder", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlEnum
public enum EnumPropertiesFolder {
@XmlEnumValue("cmis:parentId")
CMIS_PARENT_ID("cmis:parentId"),
@XmlEnumValue("cmis:allowedChildObjectTypeIds")
CMIS_ALLOWED_CHILD_OBJECT_TYPE_IDS("cmis:allowedChildObjectTypeIds"),
@XmlEnumValue("cmis:path")
CMIS_PATH("cmis:path");
private final String value;
EnumPropertiesFolder(String v) {
value = v;
}
public String value() {
return value;
}
public static EnumPropertiesFolder fromValue(String v) {
for (EnumPropertiesFolder c: EnumPropertiesFolder.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}