Class Message

  • All Implemented Interfaces:
    Exhibit

    public class Message
    extends Object
    implements Exhibit
    Message represents a 'message' added by curator to be displayed within the search results.
    Since:
    13.0
    • Field Detail

      • messageHtml

        private String messageHtml
        The HTML content of the message to display.
      • additionalProperties

        private Map<String,​Object> additionalProperties
        Any additional properties associated with the message (for example CSS styling related information).
      • category

        private String category
        A category for the message which may be used by an FreeMarker template to display different types of messages in different ways.
    • Constructor Detail

      • Message

        public Message()
    • Method Detail

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getMessageHtml

        public String getMessageHtml()
        The HTML content of the message to display.
      • setMessageHtml

        public void setMessageHtml​(String messageHtml)
        The HTML content of the message to display.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Any additional properties associated with the message (for example CSS styling related information).
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)
        Any additional properties associated with the message (for example CSS styling related information).
      • getCategory

        public String getCategory()
        A category for the message which may be used by an FreeMarker template to display different types of messages in different ways.
      • setCategory

        public void setCategory​(String category)
        A category for the message which may be used by an FreeMarker template to display different types of messages in different ways.