org.mitre.maec.default_vocabularies_1.UserActionNameEnum11 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 UserActionNameEnum-1.1.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="UserActionNameEnum-1.1">
* <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"/>
* <enumeration value="change password"/>
* <enumeration value="add user to group"/>
* <enumeration value="remove user from group"/>
* <enumeration value="invoke user privilege"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "UserActionNameEnum-1.1")
@XmlEnum
public enum UserActionNameEnum11 {
/**
* 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"),
/**
* The 'change password' value specifies the defined action of changing an existing user's password.
*
*/
@XmlEnumValue("change password")
CHANGE_PASSWORD("change password"),
/**
* The 'add user to group' value specifies the defined action of adding an existing user to an existing group.
*
*/
@XmlEnumValue("add user to group")
ADD_USER_TO_GROUP("add user to group"),
/**
* The 'remove user from group' value specifies the defined action of removing an existing user from existing group.
*
*/
@XmlEnumValue("remove user from group")
REMOVE_USER_FROM_GROUP("remove user from group"),
/**
* The 'invoke user privilege' value specifies the defined action of invoking a privilege given to an existing user.
*
*/
@XmlEnumValue("invoke user privilege")
INVOKE_USER_PRIVILEGE("invoke user privilege");
private final String value;
UserActionNameEnum11(String v) {
value = v;
}
public String value() {
return value;
}
public static UserActionNameEnum11 fromValue(String v) {
for (UserActionNameEnum11 c : UserActionNameEnum11.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}