Class FacetParameter
java.lang.Object
com.loop54.model.request.parameters.facets.FacetParameter
- Direct Known Subclasses:
DistinctFacetParameter,RangeFacetParameter
Used for faceting an entity collection based on the attributes of the entities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe name of the attribute on the entities to facet the result on.Name of the facet to return to the client. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
Name of the facet to return to the client. Can be a 'friendly' name to show to the user. If not set theattributeNamewill be used. -
attributeName
The name of the attribute on the entities to facet the result on. If the attribute does not exist on any entity, all entities will pass and an empty facet will be returned.
-
-
Constructor Details
-
FacetParameter
-
-
Method Details
-
getType
Type of the facet. Range or Distinct.- Returns:
- Type of the facet parameter
-