org.mitre.maec.default_vocabularies_1.IRCActionNameEnum10 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.07.01 at 03:30:29 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 IRCActionNameEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="IRCActionNameEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="connect to irc server"/>
* <enumeration value="disconnect from irc server"/>
* <enumeration value="set irc nickname"/>
* <enumeration value="join irc channel"/>
* <enumeration value="leave irc channel"/>
* <enumeration value="send irc private message"/>
* <enumeration value="receive irc private message"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "IRCActionNameEnum-1.0")
@XmlEnum
public enum IRCActionNameEnum10 {
/**
* The 'connect to irc server' value specifies the defined action of connecting to an existing IRC server.
*
*/
@XmlEnumValue("connect to irc server")
CONNECT_TO_IRC_SERVER("connect to irc server"),
/**
* The 'disconnect from irc server' value specifies the defined action of disconnecting from an existing IRC server.
*
*/
@XmlEnumValue("disconnect from irc server")
DISCONNECT_FROM_IRC_SERVER("disconnect from irc server"),
/**
* The 'set irc nickname' value specifies the defined action of setting an IRC nickname on an IRC server.
*
*/
@XmlEnumValue("set irc nickname")
SET_IRC_NICKNAME("set irc nickname"),
/**
* The 'join irc channel' value specifies the defined action of joining a channel on an IRC server.
*
*/
@XmlEnumValue("join irc channel")
JOIN_IRC_CHANNEL("join irc channel"),
/**
* The 'leave irc channel' value specifies the defined action of leaving a channel on an IRC server.
*
*/
@XmlEnumValue("leave irc channel")
LEAVE_IRC_CHANNEL("leave irc channel"),
/**
* The 'send irc private message' value specifies the defined action of sending a private message to another user on an IRC server.
*
*/
@XmlEnumValue("send irc private message")
SEND_IRC_PRIVATE_MESSAGE("send irc private message"),
/**
* The 'receive irc private message' value specifies the defined action of receiving a private message from another user on an IRC server.
*
*/
@XmlEnumValue("receive irc private message")
RECEIVE_IRC_PRIVATE_MESSAGE("receive irc private message");
private final String value;
IRCActionNameEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static IRCActionNameEnum10 fromValue(String v) {
for (IRCActionNameEnum10 c : IRCActionNameEnum10.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}