Enum IvmlReasonerCapabilities
- java.lang.Object
-
- java.lang.Enum<IvmlReasonerCapabilities>
-
- net.ssehub.easy.varModel.capabilities.IvmlReasonerCapabilities
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IvmlReasonerCapabilities>,IReasonerCapability
public enum IvmlReasonerCapabilities extends java.lang.Enum<IvmlReasonerCapabilities> implements IReasonerCapability
Defines some differentiating reasoner capabilities to react in EASy on provided capabilities in an abstract way. The IVML editor may utilize these enum constants to display reasoner-specific warnings if capabilities for a utilized IVML concept are missing.- Author:
- Holger Eichelberger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTESWhether the reasoner works with attributes.EVALWhether the reasoner can work with "eval".ITERATORSWhether the reasoner works with iterators.NULL_VALUEWhether the reasoner works with null values.QUALIFIED_COMPOUND_ACCESSWhether the reasoner works with top-level quantified compound access, i.e., turns expressions likeCmp.i...for compound typeCmpintoallInstances(Cmp)->forAll(c|c.i...).QUANTORSWhether the reasoner works with quantors.USER_DEF_FUNCTIONSWhether the reasoner works with user-defined functions.
-
Constructor Summary
Constructors Modifier Constructor Description privateIvmlReasonerCapabilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IvmlReasonerCapabilitiesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IvmlReasonerCapabilities[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_VALUE
public static final IvmlReasonerCapabilities NULL_VALUE
Whether the reasoner works with null values.
-
QUALIFIED_COMPOUND_ACCESS
public static final IvmlReasonerCapabilities QUALIFIED_COMPOUND_ACCESS
Whether the reasoner works with top-level quantified compound access, i.e., turns expressions likeCmp.i...for compound typeCmpintoallInstances(Cmp)->forAll(c|c.i...).
-
QUANTORS
public static final IvmlReasonerCapabilities QUANTORS
Whether the reasoner works with quantors.
-
ITERATORS
public static final IvmlReasonerCapabilities ITERATORS
Whether the reasoner works with iterators.
-
USER_DEF_FUNCTIONS
public static final IvmlReasonerCapabilities USER_DEF_FUNCTIONS
Whether the reasoner works with user-defined functions.
-
ATTRIBUTES
public static final IvmlReasonerCapabilities ATTRIBUTES
Whether the reasoner works with attributes.
-
EVAL
public static final IvmlReasonerCapabilities EVAL
Whether the reasoner can work with "eval".
-
-
Method Detail
-
values
public static IvmlReasonerCapabilities[] 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 (IvmlReasonerCapabilities c : IvmlReasonerCapabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IvmlReasonerCapabilities 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
-
-