All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mitre.cybox.common_2.Layer4ProtocolEnum Maven / Gradle / Ivy

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.common_2;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

/**
 * 

Java class for Layer4ProtocolEnum. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="Layer4ProtocolEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="TCP"/>
 *     <enumeration value="UDP"/>
 *     <enumeration value="AH"/>
 *     <enumeration value="ESP"/>
 *     <enumeration value="GRE"/>
 *     <enumeration value="IL"/>
 *     <enumeration value="SCTP"/>
 *     <enumeration value="Sinec H1"/>
 *     <enumeration value="SPX"/>
 *     <enumeration value="DCCP"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "Layer4ProtocolEnum") @XmlEnum public enum Layer4ProtocolEnum { /** * Specifies the Transmission Control Protocol. * */ TCP("TCP"), /** * Specifies the User Datagram Protocol. * */ UDP("UDP"), /** * Specifies the Authentication Header protocol. * */ AH("AH"), /** * Specifies the Encapsulating Security Payload protocol. * */ ESP("ESP"), /** * Specifies the Generic Routing Encapsulation protocol. * */ GRE("GRE"), /** * Specifies the Internet Link protocol. * */ IL("IL"), /** * Specifies the Stream Control Transmission Protocol. * */ SCTP("SCTP"), /** * Specifies the Siemens Sinec H1 protocol. * */ @XmlEnumValue("Sinec H1") SINEC_H_1("Sinec H1"), /** * Specifies the Sequenced Packet Exchange protocol. * */ SPX("SPX"), /** * Specifies the Datagram Congestion Control Protocol. * */ DCCP("DCCP"); private final String value; Layer4ProtocolEnum(String v) { value = v; } public String value() { return value; } public static Layer4ProtocolEnum fromValue(String v) { for (Layer4ProtocolEnum c : Layer4ProtocolEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy