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

org.renci.nodeagent2.agent.config.xsd.UnitChoice Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.08.10 at 03:29:20 PM EDT 
//


package org.renci.nodeagent2.agent.config.xsd;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for unitChoice. * *

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

*

 * <simpleType name="unitChoice">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="week"/>
 *     <enumeration value="day"/>
 *     <enumeration value="hour"/>
 *     <enumeration value="minute"/>
 *     <enumeration value="second"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "unitChoice") @XmlEnum public enum UnitChoice { @XmlEnumValue("week") WEEK("week"), @XmlEnumValue("day") DAY("day"), @XmlEnumValue("hour") HOUR("hour"), @XmlEnumValue("minute") MINUTE("minute"), @XmlEnumValue("second") SECOND("second"); private final String value; UnitChoice(String v) { value = v; } public String value() { return value; } public static UnitChoice fromValue(String v) { for (UnitChoice c: UnitChoice.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy