org.mitre.cybox.default_vocabularies_2.ObjectStateEnum10 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.cybox.default_vocabularies_2;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ObjectStateEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ObjectStateEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Exists"/>
* <enumeration value="Does Not Exist"/>
* <enumeration value="Open"/>
* <enumeration value="Closed"/>
* <enumeration value="Active"/>
* <enumeration value="Inactive"/>
* <enumeration value="Locked"/>
* <enumeration value="Unlocked"/>
* <enumeration value="Started"/>
* <enumeration value="Stopped"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ObjectStateEnum-1.0")
@XmlEnum
public enum ObjectStateEnum10 {
/**
* Specifies that the object exists.
*
*/
@XmlEnumValue("Exists")
EXISTS("Exists"),
/**
* Specifies that the object does not exist.
*
*/
@XmlEnumValue("Does Not Exist")
DOES_NOT_EXIST("Does Not Exist"),
/**
* Specifies that the object is open.
*
*/
@XmlEnumValue("Open")
OPEN("Open"),
/**
* Specifies that the object is closed.
*
*/
@XmlEnumValue("Closed")
CLOSED("Closed"),
/**
* Specifies that the object is active.
*
*/
@XmlEnumValue("Active")
ACTIVE("Active"),
/**
* Specifies that the object is inactive.
*
*/
@XmlEnumValue("Inactive")
INACTIVE("Inactive"),
/**
* Specifies that the object is locked.
*
*/
@XmlEnumValue("Locked")
LOCKED("Locked"),
/**
* Specifies that the object is unlocked.
*
*/
@XmlEnumValue("Unlocked")
UNLOCKED("Unlocked"),
/**
* Specifies that the object has started.
*
*/
@XmlEnumValue("Started")
STARTED("Started"),
/**
* Specifies that the object has stopped.
*
*/
@XmlEnumValue("Stopped")
STOPPED("Stopped");
private final String value;
ObjectStateEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static ObjectStateEnum10 fromValue(String v) {
for (ObjectStateEnum10 c : ObjectStateEnum10.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}