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
Message
norUrlAdvert
are appropriate.- Since:
- 13.0
-
-
Field Summary
Fields Modifier and Type Field Description 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.private java.util.Map<java.lang.String,java.lang.Object>
properties
The 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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
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.java.util.Map<java.lang.String,java.lang.Object>
getProperties()
The data for the Properties object.int
hashCode()
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.void
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
The data for the Properties object.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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.
-
-