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

org.mitre.cybox.objects.Layer3ProtocolEnum 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.objects;

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

/**
 * 

Java class for Layer3ProtocolEnum. * *

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

*

 * <simpleType name="Layer3ProtocolEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="IPv4"/>
 *     <enumeration value="IPv6"/>
 *     <enumeration value="ICMP"/>
 *     <enumeration value="IGMP"/>
 *     <enumeration value="IGRP"/>
 *     <enumeration value="CLNP"/>
 *     <enumeration value="EGP"/>
 *     <enumeration value="EIGRP"/>
 *     <enumeration value="IPSec"/>
 *     <enumeration value="IPX"/>
 *     <enumeration value="Routed-SMLT"/>
 *     <enumeration value="SCCP"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "Layer3ProtocolEnum", namespace = "http://cybox.mitre.org/objects#NetworkConnectionObject-2") @XmlEnum public enum Layer3ProtocolEnum { /** * Specifies the Internet Protocol, version 4. * */ @XmlEnumValue("IPv4") I_PV_4("IPv4"), /** * Specifies the Internet Protocol, version 6. * */ @XmlEnumValue("IPv6") I_PV_6("IPv6"), /** * Specifies the Internet Control Message Protocol. * */ ICMP("ICMP"), /** * Specifies the Internet Group Management Protocol. * */ IGMP("IGMP"), /** * Specifies the Interior Gateway Routing Protocol. * */ IGRP("IGRP"), /** * Specifies the Connectionless Networking Protocol. * */ CLNP("CLNP"), /** * Specifies the Exterior Gateway Protocol. * */ EGP("EGP"), /** * Specifies the Enhanced Interior Gateway Routing Protocol. * */ EIGRP("EIGRP"), /** * Specifies the Internet Protocol Security suite. * */ @XmlEnumValue("IPSec") IP_SEC("IPSec"), /** * Specifies the Internetwork Packet Exchange protocol. * */ IPX("IPX"), /** * Specifies the Routed Split Multi-Link Trunking protocol. * */ @XmlEnumValue("Routed-SMLT") ROUTED_SMLT("Routed-SMLT"), /** * Specifies the Signalling Connection Control Part protocol. * */ SCCP("SCCP"); private final String value; Layer3ProtocolEnum(String v) { value = v; } public String value() { return value; } public static Layer3ProtocolEnum fromValue(String v) { for (Layer3ProtocolEnum c : Layer3ProtocolEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy