public enum AttackType extends java.lang.Enum<AttackType> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
BRUTE_FORCE_ATTACK
The 'Brute Force Attack' literal object.
|
DATA_SPOOFING_ATTACK
The 'Data Spoofing Attack' literal object.
|
DENIAL_OF_SERVICE_ATTACK
The 'Denial Of Service Attack' literal object.
|
MASQUERADE_ATTACK
The 'Masquerade Attack' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BRUTE_FORCE_ATTACK_VALUE
The 'Brute Force Attack' literal value.
|
static int |
DATA_SPOOFING_ATTACK_VALUE
The 'Data Spoofing Attack' literal value.
|
static int |
DENIAL_OF_SERVICE_ATTACK_VALUE
The 'Denial Of Service Attack' literal value.
|
static int |
MASQUERADE_ATTACK_VALUE
The 'Masquerade Attack' literal value.
|
static java.util.List<AttackType> |
VALUES
A public read-only list of all the 'Attack Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static AttackType |
get(int value)
Returns the 'Attack Type' literal with the specified integer value.
|
static AttackType |
get(java.lang.String literal)
Returns the 'Attack Type' literal with the specified literal value.
|
static AttackType |
getByName(java.lang.String name)
Returns the 'Attack Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static AttackType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttackType MASQUERADE_ATTACK
MASQUERADE_ATTACK_VALUE
public static final AttackType DENIAL_OF_SERVICE_ATTACK
DENIAL_OF_SERVICE_ATTACK_VALUE
public static final AttackType BRUTE_FORCE_ATTACK
BRUTE_FORCE_ATTACK_VALUE
public static final AttackType DATA_SPOOFING_ATTACK
DATA_SPOOFING_ATTACK_VALUE
public static final int MASQUERADE_ATTACK_VALUE
If the meaning of 'Masquerade Attack' literal object isn't clear, there really should be more of a description here...
MASQUERADE_ATTACK
,
Constant Field Valuespublic static final int DENIAL_OF_SERVICE_ATTACK_VALUE
If the meaning of 'Denial Of Service Attack' literal object isn't clear, there really should be more of a description here...
DENIAL_OF_SERVICE_ATTACK
,
Constant Field Valuespublic static final int BRUTE_FORCE_ATTACK_VALUE
If the meaning of 'Brute Force Attack' literal object isn't clear, there really should be more of a description here...
BRUTE_FORCE_ATTACK
,
Constant Field Valuespublic static final int DATA_SPOOFING_ATTACK_VALUE
If the meaning of 'Data Spoofing Attack' literal object isn't clear, there really should be more of a description here...
DATA_SPOOFING_ATTACK
,
Constant Field Valuespublic static final java.util.List<AttackType> VALUES
public static AttackType[] values()
for (AttackType c : AttackType.values()) System.out.println(c);
public static AttackType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AttackType get(java.lang.String literal)
literal
- the literal.null
.public static AttackType getByName(java.lang.String name)
name
- the name.null
.public static AttackType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<AttackType>