Package com.nomagic.uml2
Enum ValidationProfile.SeverityKindEnum
- java.lang.Object
-
- java.lang.Enum<ValidationProfile.SeverityKindEnum>
-
- com.nomagic.uml2.ValidationProfile.SeverityKindEnum
-
- All Implemented Interfaces:
ProfileImplementation.TextProvider
,java.io.Serializable
,java.lang.Comparable<ValidationProfile.SeverityKindEnum>
- Enclosing class:
- ValidationProfile
public static enum ValidationProfile.SeverityKindEnum extends java.lang.Enum<ValidationProfile.SeverityKindEnum> implements ProfileImplementation.TextProvider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidationProfile.SeverityKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static ValidationProfile.SeverityKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(ValidationProfile profile, ValidationProfile.SeverityKindEnum anEnum)
static ValidationProfile.SeverityKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValidationProfile.SeverityKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBUG
public static final ValidationProfile.SeverityKindEnum DEBUG
-
INFO
public static final ValidationProfile.SeverityKindEnum INFO
-
WARNING
public static final ValidationProfile.SeverityKindEnum WARNING
-
ERROR
public static final ValidationProfile.SeverityKindEnum ERROR
-
FATAL
public static final ValidationProfile.SeverityKindEnum FATAL
-
-
Method Detail
-
values
public static ValidationProfile.SeverityKindEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValidationProfile.SeverityKindEnum c : ValidationProfile.SeverityKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationProfile.SeverityKindEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
- Specified by:
getText
in interfaceProfileImplementation.TextProvider
-
from
@CheckForNull public static ValidationProfile.SeverityKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static ValidationProfile.SeverityKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(ValidationProfile profile, ValidationProfile.SeverityKindEnum anEnum)
-
-