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

gov.nasa.arc.pds.xml.generated.UnitsOfAngle Maven / Gradle / Ivy

There is a newer version: 2.8.4
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.4 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.12.10 at 07:24:03 AM GMT 
//


package gov.nasa.arc.pds.xml.generated;

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


/**
 * 

Java class for Units_of_Angle. * *

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

 * <simpleType name="Units_of_Angle">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="arcmin"/>
 *     <enumeration value="arcsec"/>
 *     <enumeration value="deg"/>
 *     <enumeration value="hr"/>
 *     <enumeration value="mrad"/>
 *     <enumeration value="rad"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "Units_of_Angle") @XmlEnum public enum UnitsOfAngle { @XmlEnumValue("arcmin") ARCMIN("arcmin"), @XmlEnumValue("arcsec") ARCSEC("arcsec"), @XmlEnumValue("deg") DEG("deg"), @XmlEnumValue("hr") HR("hr"), @XmlEnumValue("mrad") MRAD("mrad"), @XmlEnumValue("rad") RAD("rad"); private final String value; UnitsOfAngle(String v) { value = v; } public String value() { return value; } public static UnitsOfAngle fromValue(String v) { for (UnitsOfAngle c: UnitsOfAngle.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy