Enum 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
      ATTRIBUTES
      Whether the reasoner works with attributes.
      EVAL
      Whether the reasoner can work with "eval".
      ITERATORS
      Whether the reasoner works with iterators.
      NULL_VALUE
      Whether the reasoner works with null values.
      QUALIFIED_COMPOUND_ACCESS
      Whether the reasoner works with top-level quantified compound access, i.e., turns expressions like Cmp.i... for compound type Cmp into allInstances(Cmp)->forAll(c|c.i...).
      QUANTORS
      Whether the reasoner works with quantors.
      USER_DEF_FUNCTIONS
      Whether the reasoner works with user-defined functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IvmlReasonerCapabilities valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • QUALIFIED_COMPOUND_ACCESS

        public static final IvmlReasonerCapabilities QUALIFIED_COMPOUND_ACCESS
        Whether the reasoner works with top-level quantified compound access, i.e., turns expressions like Cmp.i... for compound type Cmp into allInstances(Cmp)->forAll(c|c.i...).
      • USER_DEF_FUNCTIONS

        public static final IvmlReasonerCapabilities USER_DEF_FUNCTIONS
        Whether the reasoner works with user-defined functions.
    • Constructor Detail

      • IvmlReasonerCapabilities

        private IvmlReasonerCapabilities()
    • 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 name
        java.lang.NullPointerException - if the argument is null