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 enumIncludeRelationships. * *
The following schema fragment specifies the expected content contained within this class. *
*
* <simpleType name="enumIncludeRelationships"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="none"/> * <enumeration value="source"/> * <enumeration value="target"/> * <enumeration value="both"/> * </restriction> * </simpleType> ** */ @XmlType(name = "enumIncludeRelationships") @XmlEnum public enum EnumIncludeRelationships { @XmlEnumValue("none") NONE("none"), @XmlEnumValue("source") SOURCE("source"), @XmlEnumValue("target") TARGET("target"), @XmlEnumValue("both") BOTH("both"); private final String value; EnumIncludeRelationships(String v) { value = v; } public String value() { return value; } public static EnumIncludeRelationships fromValue(String v) { for (EnumIncludeRelationships c: EnumIncludeRelationships.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }