org.mitre.stix.default_vocabularies_1.MotivationEnum101 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stix Show documentation
Show all versions of stix Show documentation
The Java bindings for STIX v.1.2.0.2
/**
* Copyright (c) 2015, The MITRE Corporation. All rights reserved.
* See LICENSE for complete terms.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.07.01 at 03:30:29 PM EDT
//
package org.mitre.stix.default_vocabularies_1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for MotivationEnum-1.0.1.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="MotivationEnum-1.0.1">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Ideological"/>
* <enumeration value="Ideological - Anti-Corruption"/>
* <enumeration value="Ideological - Anti-Establishment"/>
* <enumeration value="Ideological - Environmental"/>
* <enumeration value="Ideological - Ethnic / Nationalist"/>
* <enumeration value="Ideological - Information Freedom"/>
* <enumeration value="Ideological - Religious"/>
* <enumeration value="Ideological - Security Awareness"/>
* <enumeration value="Ideological - Human Rights"/>
* <enumeration value="Ego"/>
* <enumeration value="Financial or Economic"/>
* <enumeration value="Military"/>
* <enumeration value="Opportunistic"/>
* <enumeration value="Policital"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "MotivationEnum-1.0.1")
@XmlEnum
public enum MotivationEnum101 {
@XmlEnumValue("Ideological")
IDEOLOGICAL("Ideological"), @XmlEnumValue("Ideological - Anti-Corruption")
IDEOLOGICAL_ANTI_CORRUPTION("Ideological - Anti-Corruption"), @XmlEnumValue("Ideological - Anti-Establishment")
IDEOLOGICAL_ANTI_ESTABLISHMENT("Ideological - Anti-Establishment"), @XmlEnumValue("Ideological - Environmental")
IDEOLOGICAL_ENVIRONMENTAL("Ideological - Environmental"), @XmlEnumValue("Ideological - Ethnic / Nationalist")
IDEOLOGICAL_ETHNIC_NATIONALIST("Ideological - Ethnic / Nationalist"), @XmlEnumValue("Ideological - Information Freedom")
IDEOLOGICAL_INFORMATION_FREEDOM("Ideological - Information Freedom"), @XmlEnumValue("Ideological - Religious")
IDEOLOGICAL_RELIGIOUS("Ideological - Religious"), @XmlEnumValue("Ideological - Security Awareness")
IDEOLOGICAL_SECURITY_AWARENESS("Ideological - Security Awareness"), @XmlEnumValue("Ideological - Human Rights")
IDEOLOGICAL_HUMAN_RIGHTS("Ideological - Human Rights"), @XmlEnumValue("Ego")
EGO("Ego"), @XmlEnumValue("Financial or Economic")
FINANCIAL_OR_ECONOMIC("Financial or Economic"), @XmlEnumValue("Military")
MILITARY("Military"), @XmlEnumValue("Opportunistic")
OPPORTUNISTIC("Opportunistic"), @XmlEnumValue("Policital")
POLICITAL("Policital");
private final String value;
MotivationEnum101(String v) {
value = v;
}
public String value() {
return value;
}
public static MotivationEnum101 fromValue(String v) {
for (MotivationEnum101 c : MotivationEnum101.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}