
package cdpp3dview.types;

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


/**
 * <p>Java class for BodyType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="BodyType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="SPACECRAFT"/>
 *     &lt;enumeration value="PLANET"/>
 *     &lt;enumeration value="SATELLITE"/>
 *     &lt;enumeration value="COMET"/>
 *     &lt;enumeration value="ASTEROID"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "BodyType")
@XmlEnum
public enum BodyType {

    SPACECRAFT,
    PLANET,
    SATELLITE,
    COMET,
    ASTEROID;

    public String value() {
        return name();
    }

    public static BodyType fromValue(String v) {
        return valueOf(v);
    }

}
