Class Properties
- java.lang.Object
-
- com.funnelback.publicui.search.model.curator.data.Properties
-
- All Implemented Interfaces:
Exhibit
public class Properties extends java.lang.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
MessagenorUrlAdvertare appropriate.- Since:
- 13.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcategoryA category for the properties which may be used by a FreeMarker template to display different types of properties in different ways.private java.util.Map<java.lang.String,java.lang.Object>propertiesThe data for the Properties object.
-
Constructor Summary
Constructors Constructor Description Properties()Properties(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCategory()A category for the properties which may be used by a FreeMarker template to display different types of properties in different ways.java.util.Map<java.lang.String,java.lang.Object>getProperties()The data for the Properties object.inthashCode()voidsetCategory(java.lang.String category)A category for the properties which may be used by a FreeMarker template to display different types of properties in different ways.voidsetProperties(java.util.Map<java.lang.String,java.lang.Object> properties)The data for the Properties object.java.lang.StringtoString()
-
-
-
Field Detail
-
properties
private java.util.Map<java.lang.String,java.lang.Object> properties
The data for the Properties object.
-
category
private java.lang.String category
A category for the properties which may be used by a FreeMarker template to display different types of properties in different ways.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
The data for the Properties object.
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
The data for the Properties object.
-
getCategory
public java.lang.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(java.lang.String category)
A category for the properties which may be used by a FreeMarker template to display different types of properties in different ways.
-
-