org.mitre.cybox.objects.system.ProcessorArchEnum Maven / Gradle / Ivy
The 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: 2015.11.01 at 11:48:17 AM PST
//
package org.mitre.cybox.objects.system;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ProcessorArchEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ProcessorArchEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="x86-32"/>
* <enumeration value="x86-64"/>
* <enumeration value="IA-64"/>
* <enumeration value="PowerPC"/>
* <enumeration value="ARM"/>
* <enumeration value="Alpha"/>
* <enumeration value="SPARC"/>
* <enumeration value="z/Architecture"/>
* <enumeration value="eSi-RISC"/>
* <enumeration value="MIPS"/>
* <enumeration value="Motorola 68k"/>
* <enumeration value="Other"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ProcessorArchEnum")
@XmlEnum
public enum ProcessorArchEnum {
/**
* Specifies the 32-bit x86 architecture.
*
*/
@XmlEnumValue("x86-32")
X_86_32("x86-32"),
/**
* Specifies the 64-bit x86 architecture.
*
*/
@XmlEnumValue("x86-64")
X_86_64("x86-64"),
/**
* Specifies the 64-bit IA (Itanium) architecture.
*
*/
@XmlEnumValue("IA-64")
IA_64("IA-64"),
/**
* Specifies the PowerPC IA (Itanium) architecture.
*
*/
@XmlEnumValue("PowerPC")
POWER_PC("PowerPC"),
/**
* Specifies the ARM architecture.
*
*/
ARM("ARM"),
/**
* Specifies the Alpha architecture.
*
*/
@XmlEnumValue("Alpha")
ALPHA("Alpha"),
/**
* Specifies the SPARC architecture.
*
*/
SPARC("SPARC"),
/**
* Specifies the z/architecture, used on IBM mainframes.
*
*/
@XmlEnumValue("z/Architecture")
Z_ARCHITECTURE("z/Architecture"),
/**
* Specifies the eSi-RISC architecture.
*
*/
@XmlEnumValue("eSi-RISC")
E_SI_RISC("eSi-RISC"),
/**
* Specifies the MIPS architecture.
*
*/
MIPS("MIPS"),
/**
* Specifies the Motorola 68k architecture.
*
*/
@XmlEnumValue("Motorola 68k")
MOTOROLA_68_K("Motorola 68k"),
/**
* Specifies a processor architecture other than those defined in this enumeration.
*
*/
@XmlEnumValue("Other")
OTHER("Other");
private final String value;
ProcessorArchEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static ProcessorArchEnum fromValue(String v) {
for (ProcessorArchEnum c: ProcessorArchEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}