org.mitre.cybox.objects.PageProtectionValueEnum 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.cybox.objects;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PageProtectionValueEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PageProtectionValueEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="PAGE_EXECUTE_READ"/>
* <enumeration value="PAGE_EXECUTE_READWRITE"/>
* <enumeration value="PAGE_EXECUTE_WRITECOPY"/>
* <enumeration value="PAGE_READONLY"/>
* <enumeration value="PAGE_READWRITE"/>
* <enumeration value="PAGE_WRITECOPY"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PageProtectionValueEnum", namespace = "http://cybox.mitre.org/objects#WinFilemappingObject-1")
@XmlEnum
public enum PageProtectionValueEnum {
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only, copy-on-write, or execute access.
*
*/
PAGE_EXECUTE_READ,
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only, copy-on-write, read/write, or execute access.
*
*/
PAGE_EXECUTE_READWRITE,
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only, copy-on-write, or execute access. This value is equivalent to PAGE_EXECUTE_READ.
*
*/
PAGE_EXECUTE_WRITECOPY,
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only or copy-on-write access.
*
*/
PAGE_READONLY,
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only, copy-on-write, or read/write access.
*
*/
PAGE_READWRITE,
/**
* Specifies that the mapped view of the file represented by the file mapping can be mapped for read-only or copy-on-write access. This value is equivalent to PAGE_READONLY.
*
*/
PAGE_WRITECOPY;
public String value() {
return name();
}
public static PageProtectionValueEnum fromValue(String v) {
return valueOf(v);
}
}