Enum QuestionnaireItemOperator.ValueSet

    • Enum Constant Detail

      • EXISTS

        public static final QuestionnaireItemOperator.ValueSet EXISTS
        Exists

        True if whether an answer exists is equal to the enableWhen answer (which must be a boolean).

      • NOT_EQUALS

        public static final QuestionnaireItemOperator.ValueSet NOT_EQUALS
        Not Equals

        True if whether at least no answer has a value that is equal to the enableWhen answer.

      • GREATER_THAN

        public static final QuestionnaireItemOperator.ValueSet GREATER_THAN
        Greater Than

        True if whether at least no answer has a value that is greater than the enableWhen answer.

      • LESS_THAN

        public static final QuestionnaireItemOperator.ValueSet LESS_THAN
        Less Than

        True if whether at least no answer has a value that is less than the enableWhen answer.

      • GREATER_OR_EQUALS

        public static final QuestionnaireItemOperator.ValueSet GREATER_OR_EQUALS
        Greater or Equals

        True if whether at least no answer has a value that is greater or equal to the enableWhen answer.

      • LESS_OR_EQUALS

        public static final QuestionnaireItemOperator.ValueSet LESS_OR_EQUALS
        Less or Equals

        True if whether at least no answer has a value that is less or equal to the enableWhen answer.

    • Method Detail

      • values

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

        public static QuestionnaireItemOperator.ValueSet 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
      • value

        public String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static QuestionnaireItemOperator.ValueSet from​(String value)
        Factory method for creating QuestionnaireItemOperator.ValueSet values from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value