org.apache.chemistry.opencmis.commons.impl.jaxb.EnumPropertiesBase 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 enumPropertiesBase.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="enumPropertiesBase">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="cmis:name"/>
* <enumeration value="cmis:description"/>
* <enumeration value="cmis:objectId"/>
* <enumeration value="cmis:objectTypeId"/>
* <enumeration value="cmis:baseTypeId"/>
* <enumeration value="cmis:secondaryObjectTypeIds"/>
* <enumeration value="cmis:createdBy"/>
* <enumeration value="cmis:creationDate"/>
* <enumeration value="cmis:lastModifiedBy"/>
* <enumeration value="cmis:lastModificationDate"/>
* <enumeration value="cmis:changeToken"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "enumPropertiesBase", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
@XmlEnum
public enum EnumPropertiesBase {
@XmlEnumValue("cmis:name")
CMIS_NAME("cmis:name"),
@XmlEnumValue("cmis:description")
CMIS_DESCRIPTION("cmis:description"),
@XmlEnumValue("cmis:objectId")
CMIS_OBJECT_ID("cmis:objectId"),
@XmlEnumValue("cmis:objectTypeId")
CMIS_OBJECT_TYPE_ID("cmis:objectTypeId"),
@XmlEnumValue("cmis:baseTypeId")
CMIS_BASE_TYPE_ID("cmis:baseTypeId"),
@XmlEnumValue("cmis:secondaryObjectTypeIds")
CMIS_SECONDARY_OBJECT_TYPE_IDS("cmis:secondaryObjectTypeIds"),
@XmlEnumValue("cmis:createdBy")
CMIS_CREATED_BY("cmis:createdBy"),
@XmlEnumValue("cmis:creationDate")
CMIS_CREATION_DATE("cmis:creationDate"),
@XmlEnumValue("cmis:lastModifiedBy")
CMIS_LAST_MODIFIED_BY("cmis:lastModifiedBy"),
@XmlEnumValue("cmis:lastModificationDate")
CMIS_LAST_MODIFICATION_DATE("cmis:lastModificationDate"),
@XmlEnumValue("cmis:changeToken")
CMIS_CHANGE_TOKEN("cmis:changeToken");
private final String value;
EnumPropertiesBase(String v) {
value = v;
}
public String value() {
return value;
}
public static EnumPropertiesBase fromValue(String v) {
for (EnumPropertiesBase c: EnumPropertiesBase.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy