Enum Class AiccPrerequisiteNodeType
- All Implemented Interfaces:
Serializable,Comparable<AiccPrerequisiteNodeType>,Constable
-
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 logical AND operation in an AICC prerequisite expression.Represents a specific identifier used within an AICC prerequisite expression.Represents a logical NOT operation in an AICC prerequisite expression.Represents a logical OR operation in an AICC prerequisite expression. -
Method Summary
Modifier and TypeMethodDescriptionstatic AiccPrerequisiteNodeTypeReturns the enum constant of this class with the specified name.static AiccPrerequisiteNodeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDENTIFIER
Represents a specific identifier used within an AICC prerequisite expression. This type is typically associated with a named course, module, or similar entity identifiable within the expression tree.The IDENTIFIER serves as a terminal or leaf node in the prerequisite structure, containing a concrete reference that can be matched or evaluated during the parsing or evaluation process.
-
AND
Represents a logical AND operation in an AICC prerequisite expression. This type serves as a connector between two or more child nodes, where all child nodes must satisfy their conditions for the AND operation to evaluate as true.When used as part of a prerequisite expression tree, the AND node combines multiple sub-expressions to collectively enforce logical conjunction.
-
OR
Represents a logical OR operation in an AICC prerequisite expression. This type serves as a connector between two or more child nodes, where at least one child node must satisfy its condition for the OR operation to evaluate as true.When used as part of a prerequisite expression tree, the OR node combines multiple sub-expressions to enforce logical disjunction.
-
NOT
Represents a logical NOT operation in an AICC prerequisite expression. This type is used to negate the logical outcome of its child node. The NOT node serves as a unary operator, meaning it operates on a single child node.By applying a NOT operation, the logical value of the child node is reversed during the evaluation of the prerequisite expression: - If the child node evaluates to true, the NOT operation results in false. - If the child node evaluates to false, the NOT operation results in true.
-
-
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
-