org.mitre.maec.default_vocabularies_1.UserActionNameEnum10 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 UserActionNameEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="UserActionNameEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="add user"/>
* <enumeration value="delete user"/>
* <enumeration value="enumerate users"/>
* <enumeration value="get user attributes"/>
* <enumeration value="logon as user"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "UserActionNameEnum-1.0")
@XmlEnum
public enum UserActionNameEnum10 {
/**
* The 'add user' value specifies the defined action of adding a new user.
*
*/
@XmlEnumValue("add user")
ADD_USER("add user"),
/**
* The 'delete user' value specifies the defined action of deleting an existing user.
*
*/
@XmlEnumValue("delete user")
DELETE_USER("delete user"),
/**
* The 'enumerate users' value specifies the defined action of enumerating all users.
*
*/
@XmlEnumValue("enumerate users")
ENUMERATE_USERS("enumerate users"),
/**
* The 'get user attributes' value specifies the defined action of getting the attributes of an existing user.
*
*/
@XmlEnumValue("get user attributes")
GET_USER_ATTRIBUTES("get user attributes"),
/**
* The 'logon as user' value specifies the defined action of logging on as a specific user.
*
*/
@XmlEnumValue("logon as user")
LOGON_AS_USER("logon as user");
private final String value;
UserActionNameEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static UserActionNameEnum10 fromValue(String v) {
for (UserActionNameEnum10 c : UserActionNameEnum10.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}