All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.chemistry.opencmis.commons.impl.jaxb.EnumPropertiesDocument Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version

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 enumPropertiesDocument. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="enumPropertiesDocument">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="cmis:isImmutable"/>
 *     <enumeration value="cmis:isLatestVersion"/>
 *     <enumeration value="cmis:isMajorVersion"/>
 *     <enumeration value="cmis:isLatestMajorVersion"/>
 *     <enumeration value="cmis:isPrivateWorkingCopy"/>
 *     <enumeration value="cmis:versionLabel"/>
 *     <enumeration value="cmis:versionSeriesId"/>
 *     <enumeration value="cmis:isVersionSeriesCheckedOut"/>
 *     <enumeration value="cmis:versionSeriesCheckedOutBy"/>
 *     <enumeration value="cmis:versionSeriesCheckedOutId"/>
 *     <enumeration value="cmis:checkinComment"/>
 *     <enumeration value="cmis:contentStreamLength"/>
 *     <enumeration value="cmis:contentStreamMimeType"/>
 *     <enumeration value="cmis:contentStreamFileName"/>
 *     <enumeration value="cmis:contentStreamId"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumPropertiesDocument", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesDocument { @XmlEnumValue("cmis:isImmutable") CMIS_IS_IMMUTABLE("cmis:isImmutable"), @XmlEnumValue("cmis:isLatestVersion") CMIS_IS_LATEST_VERSION("cmis:isLatestVersion"), @XmlEnumValue("cmis:isMajorVersion") CMIS_IS_MAJOR_VERSION("cmis:isMajorVersion"), @XmlEnumValue("cmis:isLatestMajorVersion") CMIS_IS_LATEST_MAJOR_VERSION("cmis:isLatestMajorVersion"), @XmlEnumValue("cmis:isPrivateWorkingCopy") CMIS_IS_PRIVATE_WORKING_COPY("cmis:isPrivateWorkingCopy"), @XmlEnumValue("cmis:versionLabel") CMIS_VERSION_LABEL("cmis:versionLabel"), @XmlEnumValue("cmis:versionSeriesId") CMIS_VERSION_SERIES_ID("cmis:versionSeriesId"), @XmlEnumValue("cmis:isVersionSeriesCheckedOut") CMIS_IS_VERSION_SERIES_CHECKED_OUT("cmis:isVersionSeriesCheckedOut"), @XmlEnumValue("cmis:versionSeriesCheckedOutBy") CMIS_VERSION_SERIES_CHECKED_OUT_BY("cmis:versionSeriesCheckedOutBy"), @XmlEnumValue("cmis:versionSeriesCheckedOutId") CMIS_VERSION_SERIES_CHECKED_OUT_ID("cmis:versionSeriesCheckedOutId"), @XmlEnumValue("cmis:checkinComment") CMIS_CHECKIN_COMMENT("cmis:checkinComment"), @XmlEnumValue("cmis:contentStreamLength") CMIS_CONTENT_STREAM_LENGTH("cmis:contentStreamLength"), @XmlEnumValue("cmis:contentStreamMimeType") CMIS_CONTENT_STREAM_MIME_TYPE("cmis:contentStreamMimeType"), @XmlEnumValue("cmis:contentStreamFileName") CMIS_CONTENT_STREAM_FILE_NAME("cmis:contentStreamFileName"), @XmlEnumValue("cmis:contentStreamId") CMIS_CONTENT_STREAM_ID("cmis:contentStreamId"); private final String value; EnumPropertiesDocument(String v) { value = v; } public String value() { return value; } public static EnumPropertiesDocument fromValue(String v) { for (EnumPropertiesDocument c: EnumPropertiesDocument.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy