| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| // Generated on: 2011.02.15 at 04:31:32 PM CET |
| // |
| |
| |
| package org.eclipse.ptp.rm.lml.internal.core.elements; |
| |
| import javax.xml.bind.annotation.XmlEnum; |
| import javax.xml.bind.annotation.XmlEnumValue; |
| import javax.xml.bind.annotation.XmlType; |
| |
| |
| /** |
| * <p>Java class for object_name. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * <p> |
| * <pre> |
| * <simpleType name="object_name"> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
| * <enumeration value="job"/> |
| * <enumeration value="node"/> |
| * <enumeration value="system"/> |
| * <enumeration value="queue"/> |
| * <enumeration value="scheduler"/> |
| * <enumeration value="class"/> |
| * <enumeration value="partition"/> |
| * <enumeration value="partmap"/> |
| * <enumeration value="smallpartition"/> |
| * </restriction> |
| * </simpleType> |
| * </pre> |
| * |
| */ |
| @XmlType(name = "object_name") |
| @XmlEnum |
| public enum ObjectName { |
| |
| @XmlEnumValue("job") |
| JOB("job"), |
| @XmlEnumValue("node") |
| NODE("node"), |
| @XmlEnumValue("system") |
| SYSTEM("system"), |
| @XmlEnumValue("queue") |
| QUEUE("queue"), |
| @XmlEnumValue("scheduler") |
| SCHEDULER("scheduler"), |
| @XmlEnumValue("class") |
| CLASS("class"), |
| @XmlEnumValue("partition") |
| PARTITION("partition"), |
| @XmlEnumValue("partmap") |
| PARTMAP("partmap"), |
| @XmlEnumValue("smallpartition") |
| SMALLPARTITION("smallpartition"); |
| private final String value; |
| |
| ObjectName(String v) { |
| value = v; |
| } |
| |
| public String value() { |
| return value; |
| } |
| |
| public static ObjectName fromValue(String v) { |
| for (ObjectName c: ObjectName.values()) { |
| if (c.value.equals(v)) { |
| return c; |
| } |
| } |
| throw new IllegalArgumentException(v); |
| } |
| |
| } |