org.apache.chemistry.opencmis.commons.impl.jaxb.EnumUsers Maven / Gradle / Ivy
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 enumUsers.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="enumUsers">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="cmis:user"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "enumUsers", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlEnum
public enum EnumUsers {
/**
*
* This user can be used on setting ACLs to specify
* the permission this
* user context should have.
*
*
*/
@XmlEnumValue("cmis:user")
CMIS_USER("cmis:user");
private final String value;
EnumUsers(String v) {
value = v;
}
public String value() {
return value;
}
public static EnumUsers fromValue(String v) {
for (EnumUsers c: EnumUsers.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy