org.mitre.maec.default_vocabularies_1.AvailabilityViolationStrategicObjectivesEnum10 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
The newest version!
/**
* 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:19:53 PM EDT
//
package org.mitre.maec.default_vocabularies_1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AvailabilityViolationStrategicObjectivesEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AvailabilityViolationStrategicObjectivesEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="compromise data availability"/>
* <enumeration value="compromise system availability"/>
* <enumeration value="consume system resources"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AvailabilityViolationStrategicObjectivesEnum-1.0")
@XmlEnum
public enum AvailabilityViolationStrategicObjectivesEnum10 {
/**
* The 'compromise data availabilty' value indicates that the malware instance is able to compromise the availability of data on a system.
*
*/
@XmlEnumValue("compromise data availability")
COMPROMISE_DATA_AVAILABILITY("compromise data availability"),
/**
* The 'compromise system availability' value indicates that the malware instance compromises the availability of the system.
*
*/
@XmlEnumValue("compromise system availability")
COMPROMISE_SYSTEM_AVAILABILITY("compromise system availability"),
/**
* The 'consume system resources' value indicates that the malware instance is able to consume system resources for its own purposes.
*
*/
@XmlEnumValue("consume system resources")
CONSUME_SYSTEM_RESOURCES("consume system resources");
private final String value;
AvailabilityViolationStrategicObjectivesEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static AvailabilityViolationStrategicObjectivesEnum10 fromValue(
String v) {
for (AvailabilityViolationStrategicObjectivesEnum10 c : AvailabilityViolationStrategicObjectivesEnum10
.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}