org.mitre.maec.default_vocabularies_1.SynchronizationActionNameEnum10 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.06.23 at 10:59:44 AM 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 SynchronizationActionNameEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SynchronizationActionNameEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="create mutex"/>
* <enumeration value="delete mutex"/>
* <enumeration value="open mutex"/>
* <enumeration value="release mutex"/>
* <enumeration value="create semaphore"/>
* <enumeration value="delete semaphore"/>
* <enumeration value="open semaphore"/>
* <enumeration value="release semaphore"/>
* <enumeration value="create event"/>
* <enumeration value="delete event"/>
* <enumeration value="open event"/>
* <enumeration value="reset event"/>
* <enumeration value="create critical section"/>
* <enumeration value="delete critical section"/>
* <enumeration value="open critical section"/>
* <enumeration value="release critical section"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SynchronizationActionNameEnum-1.0")
@XmlEnum
public enum SynchronizationActionNameEnum10 {
/**
* The 'create mutex' value specifies the defined action of creating a new named mutex.
*
*/
@XmlEnumValue("create mutex")
CREATE_MUTEX("create mutex"),
/**
* The 'delete mutex' value specifies the defined action of deleting an existing named mutex.
*
*/
@XmlEnumValue("delete mutex")
DELETE_MUTEX("delete mutex"),
/**
* The 'open mutex' value specifies the defined action of opening an existing named mutex.
*
*/
@XmlEnumValue("open mutex")
OPEN_MUTEX("open mutex"),
/**
* The 'release mutex' value specifies the defined action of releasing ownership of an existing named mutex.
*
*/
@XmlEnumValue("release mutex")
RELEASE_MUTEX("release mutex"),
/**
* The 'create semaphore' value specifies the defined action of creating a new named semaphore.
*
*/
@XmlEnumValue("create semaphore")
CREATE_SEMAPHORE("create semaphore"),
/**
* The 'delete semaphore' value specifies the defined action of deleting an existing named semaphore.
*
*/
@XmlEnumValue("delete semaphore")
DELETE_SEMAPHORE("delete semaphore"),
/**
* The 'open semaphore' value specifies the defined action of opening an existing named semaphore.
*
*/
@XmlEnumValue("open semaphore")
OPEN_SEMAPHORE("open semaphore"),
/**
* The 'release semaphore' value specifies the defined action of releasing ownership of an existing named semaphore.
*
*/
@XmlEnumValue("release semaphore")
RELEASE_SEMAPHORE("release semaphore"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("create event")
CREATE_EVENT("create event"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("delete event")
DELETE_EVENT("delete event"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("open event")
OPEN_EVENT("open event"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("reset event")
RESET_EVENT("reset event"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("create critical section")
CREATE_CRITICAL_SECTION("create critical section"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("delete critical section")
DELETE_CRITICAL_SECTION("delete critical section"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("open critical section")
OPEN_CRITICAL_SECTION("open critical section"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("release critical section")
RELEASE_CRITICAL_SECTION("release critical section");
private final String value;
SynchronizationActionNameEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static SynchronizationActionNameEnum10 fromValue(String v) {
for (SynchronizationActionNameEnum10 c : SynchronizationActionNameEnum10
.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}