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

org.apache.chemistry.opencmis.commons.impl.jaxb.EnumDateTimeResolution 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 enumDateTimeResolution. * *

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

 * <simpleType name="enumDateTimeResolution">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="year"/>
 *     <enumeration value="date"/>
 *     <enumeration value="time"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "enumDateTimeResolution", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumDateTimeResolution { @XmlEnumValue("year") YEAR("year"), @XmlEnumValue("date") DATE("date"), @XmlEnumValue("time") TIME("time"); private final String value; EnumDateTimeResolution(String v) { value = v; } public String value() { return value; } public static EnumDateTimeResolution fromValue(String v) { for (EnumDateTimeResolution c: EnumDateTimeResolution.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy