Enum MessageSignificanceCategory.ValueSet

    • Enum Constant Detail

      • CONSEQUENCE

        public static final MessageSignificanceCategory.ValueSet CONSEQUENCE
        Consequence

        The message represents/requests a change that should not be processed more than once; e.g., making a booking for an appointment.

      • CURRENCY

        public static final MessageSignificanceCategory.ValueSet CURRENCY
        Currency

        The message represents a response to query for current information. Retrospective processing is wrong and/or wasteful.

      • NOTIFICATION

        public static final MessageSignificanceCategory.ValueSet NOTIFICATION
        Notification

        The content is not necessarily intended to be current, and it can be reprocessed, though there may be version issues created by processing old notifications.

    • Method Detail

      • values

        public static MessageSignificanceCategory.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 (MessageSignificanceCategory.ValueSet c : MessageSignificanceCategory.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 MessageSignificanceCategory.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 MessageSignificanceCategory.ValueSet from​(String value)
        Factory method for creating MessageSignificanceCategory.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