org.mitre.maec.default_vocabularies_1.FileActionNameEnum10 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 FileActionNameEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FileActionNameEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="create file"/>
* <enumeration value="delete file"/>
* <enumeration value="copy file"/>
* <enumeration value="create file symbolic link"/>
* <enumeration value="find file"/>
* <enumeration value="get file attributes"/>
* <enumeration value="set file attributes"/>
* <enumeration value="lock file"/>
* <enumeration value="unlock file"/>
* <enumeration value="modify file"/>
* <enumeration value="move file"/>
* <enumeration value="open file"/>
* <enumeration value="read from file"/>
* <enumeration value="write to file"/>
* <enumeration value="rename file"/>
* <enumeration value="create file alternate data stream"/>
* <enumeration value="send control code to file"/>
* <enumeration value="create file mapping"/>
* <enumeration value="open file mapping"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FileActionNameEnum-1.0")
@XmlEnum
public enum FileActionNameEnum10 {
/**
* The 'create file' value specifies the defined action of creating a new file.
*
*/
@XmlEnumValue("create file")
CREATE_FILE("create file"),
/**
* The 'delete file' value specifies the defined action of deleting an existing file.
*
*/
@XmlEnumValue("delete file")
DELETE_FILE("delete file"),
/**
* The 'copy file' value specifies the defined action of copying an existing file from one location to another.
*
*/
@XmlEnumValue("copy file")
COPY_FILE("copy file"),
/**
* The 'create file symbolic link' value specifies the defined action of creating a symbolic link to an existing file.
*
*/
@XmlEnumValue("create file symbolic link")
CREATE_FILE_SYMBOLIC_LINK("create file symbolic link"),
/**
* The 'find file' value specifies the defined action of searching for an existing file.
*
*/
@XmlEnumValue("find file")
FIND_FILE("find file"),
/**
* The 'get file attributes' value specifies the defined action of getting the attributes of an existing file.
*
*/
@XmlEnumValue("get file attributes")
GET_FILE_ATTRIBUTES("get file attributes"),
/**
* The 'set file attributes' value specifies the defined action of setting the file attributes for an existing file.
*
*/
@XmlEnumValue("set file attributes")
SET_FILE_ATTRIBUTES("set file attributes"),
/**
* The 'lock file' value specifies the defined action of locking an existing file.
*
*/
@XmlEnumValue("lock file")
LOCK_FILE("lock file"),
/**
* The 'unlock file' value specifies the defined action of unlocking an existing file.
*
*/
@XmlEnumValue("unlock file")
UNLOCK_FILE("unlock file"),
/**
* The 'modify file' value specifies the defined action of modifying an existing file in some manner.
*
*/
@XmlEnumValue("modify file")
MODIFY_FILE("modify file"),
/**
* The 'move file' value specifies the defined action of moving an existing file from one location to another.
*
*/
@XmlEnumValue("move file")
MOVE_FILE("move file"),
/**
* The 'open file' value specifies the defined action of opening an existing file for reading or writing.
*
*/
@XmlEnumValue("open file")
OPEN_FILE("open file"),
/**
* The 'read from file' value specifies the defined action of reading from an existing file.
*
*/
@XmlEnumValue("read from file")
READ_FROM_FILE("read from file"),
/**
* The 'write to file' value specifies the defined action of writing to an existing file.
*
*/
@XmlEnumValue("write to file")
WRITE_TO_FILE("write to file"),
/**
* The 'rename file' value specifies the defined action of renaming an existing file.
*
*/
@XmlEnumValue("rename file")
RENAME_FILE("rename file"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("create file alternate data stream")
CREATE_FILE_ALTERNATE_DATA_STREAM("create file alternate data stream"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("send control code to file")
SEND_CONTROL_CODE_TO_FILE("send control code to file"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("create file mapping")
CREATE_FILE_MAPPING("create file mapping"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("open file mapping")
OPEN_FILE_MAPPING("open file mapping");
private final String value;
FileActionNameEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static FileActionNameEnum10 fromValue(String v) {
for (FileActionNameEnum10 c : FileActionNameEnum10.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}