Class Properties

  • All Implemented Interfaces:
    Exhibit

    public class Properties
    extends Object
    implements Exhibit

    Properties represents arbitrary structured data added by the curator system to be displayed within the search results.

    May be most useful where structured data is needed, but neither Message nor UrlAdvert are appropriate.

    Since:
    13.0
    • Field Detail

      • properties

        private Map<String,​Object> properties
        The data for the Properties object.
      • category

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

      • Properties

        public Properties()
    • Method Detail

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

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

        public Map<String,​Object> getProperties()
        The data for the Properties object.
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
        The data for the Properties object.
      • getCategory

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

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