org.apache.chemistry.opencmis.commons.impl.jaxb.EnumPropertiesRelationship 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 enumPropertiesRelationship.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="enumPropertiesRelationship">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="cmis:sourceId"/>
* <enumeration value="cmis:targetId"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "enumPropertiesRelationship", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlEnum
public enum EnumPropertiesRelationship {
@XmlEnumValue("cmis:sourceId")
CMIS_SOURCE_ID("cmis:sourceId"),
@XmlEnumValue("cmis:targetId")
CMIS_TARGET_ID("cmis:targetId");
private final String value;
EnumPropertiesRelationship(String v) {
value = v;
}
public String value() {
return value;
}
public static EnumPropertiesRelationship fromValue(String v) {
for (EnumPropertiesRelationship c: EnumPropertiesRelationship.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy