Package com.lpvs.entity.enums
Enum Class Grade
- All Implemented Interfaces:
Serializable
,Comparable<Grade>
,Constable
Represents the severity grades for license violations in the LPVS system.
The grades indicate the seriousness or impact of the detected license violation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a high severity license violation.Represents a license violation with low severity.Represents a license violation with moderate severity.Represents no license violation or the absence of severity.Represents a serious license violation with high impact. -
Method Summary
-
Enum Constant Details
-
SERIOUS
Represents a serious license violation with high impact. -
HIGH
Represents a high severity license violation. -
MIDDLE
Represents a license violation with moderate severity. -
LOW
Represents a license violation with low severity. -
NONE
Represents no license violation or the absence of severity.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-