public enum SeverityKind extends Enum<SeverityKind> implements Enumerator
ImperativeOCLPackage.getSeverityKind()
Enum Constant and Description |
---|
ERROR
The 'Error' literal object.
|
FATAL
The 'Fatal' literal object.
|
WARNING
The 'Warning' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
The 'Error' literal value.
|
static int |
FATAL_VALUE
The 'Fatal' literal value.
|
static List<SeverityKind> |
VALUES
A public read-only list of all the 'Severity Kind' enumerators.
|
static int |
WARNING_VALUE
The 'Warning' literal value.
|
Modifier and Type | Method and Description |
---|---|
static SeverityKind |
get(int value)
Returns the 'Severity Kind' literal with the specified integer value.
|
static SeverityKind |
get(String literal)
Returns the 'Severity Kind' literal with the specified literal value.
|
static SeverityKind |
getByName(String name)
Returns the 'Severity Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static SeverityKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeverityKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityKind ERROR
ERROR_VALUE
public static final SeverityKind WARNING
WARNING_VALUE
public static final SeverityKind FATAL
FATAL_VALUE
public static final int ERROR_VALUE
If the meaning of 'Error' literal object isn't clear, there really should be more of a description here...
ERROR
,
Constant Field Valuespublic static final int WARNING_VALUE
If the meaning of 'Warning' literal object isn't clear, there really should be more of a description here...
WARNING
,
Constant Field Valuespublic static final int FATAL_VALUE
If the meaning of 'Fatal' literal object isn't clear, there really should be more of a description here...
FATAL
,
Constant Field Valuespublic static final List<SeverityKind> VALUES
public static SeverityKind[] values()
for (SeverityKind c : SeverityKind.values()) System.out.println(c);
public static SeverityKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SeverityKind get(String literal)
public static SeverityKind getByName(String name)
public static SeverityKind get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<SeverityKind>
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.