Enum CompositionType

    • Enum Constant Detail

      • OR

        public static final CompositionType OR
        Used to indicate the disjunction of all constraints it is applied to.
      • AND

        public static final CompositionType AND
        Used to indicate the conjunction of all the constraints it is applied to.
      • ALL_FALSE

        public static final CompositionType ALL_FALSE
        ALL_FALSE is a generalisation of the usual NOT operator, which is applied to a list of conditions rather than just one element. When the annotation it is used on is composed of a single constraint annotation, then it is equivalent to NOT.
    • Method Detail

      • values

        public static CompositionType[] 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 (CompositionType c : CompositionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CompositionType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null