Package fr.gouv.vitam.ihmdemo.core
Class FacetItem
- java.lang.Object
-
- fr.gouv.vitam.ihmdemo.core.FacetItem
-
public class FacetItem extends java.lang.Object
Description of facet item model.
-
-
Constructor Summary
Constructors Constructor Description FacetItem()
Constructor.FacetItem(java.lang.String name, FacetType facetType, java.lang.String field, java.lang.Integer size, FacetOrder order, java.lang.String format, java.util.List<FacetDateRangeItem> ranges, java.util.List<FacetFiltersItem> filters, java.util.Optional<java.lang.String> subobject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetType
getFacetType()
getFacetTypejava.lang.String
getField()
getFieldjava.util.List<FacetFiltersItem>
getFilters()
getFiltersjava.lang.String
getFormat()
getFormatjava.lang.String
getName()
getNameFacetOrder
getOrder()
java.util.List<FacetDateRangeItem>
getRanges()
getRangesjava.lang.Integer
getSize()
getSizejava.lang.String
getSubobject()
void
setFacetType(FacetType facetType)
setFacetTypevoid
setField(java.lang.String field)
setFieldvoid
setFilters(java.util.List<FacetFiltersItem> filters)
setFiltersvoid
setFormat(java.lang.String format)
setFormatvoid
setName(java.lang.String name)
setNamevoid
setOrder(FacetOrder order)
void
setRanges(java.util.List<FacetDateRangeItem> ranges)
setRangesvoid
setSize(java.lang.Integer size)
setSize
-
-
-
Constructor Detail
-
FacetItem
public FacetItem()
Constructor.
-
FacetItem
public FacetItem(java.lang.String name, FacetType facetType, java.lang.String field, java.lang.Integer size, FacetOrder order, java.lang.String format, java.util.List<FacetDateRangeItem> ranges, java.util.List<FacetFiltersItem> filters, java.util.Optional<java.lang.String> subobject)
-
-
Method Detail
-
getName
public java.lang.String getName()
getName- Returns:
-
setName
public void setName(java.lang.String name)
setName- Parameters:
name
-
-
getField
public java.lang.String getField()
getField- Returns:
-
setField
public void setField(java.lang.String field)
setField- Parameters:
field
-
-
getSize
public java.lang.Integer getSize()
getSize- Returns:
-
setSize
public void setSize(java.lang.Integer size)
setSize- Parameters:
size
-
-
getFormat
public java.lang.String getFormat()
getFormat- Returns:
-
setFormat
public void setFormat(java.lang.String format)
setFormat- Parameters:
format
-
-
getRanges
public java.util.List<FacetDateRangeItem> getRanges()
getRanges- Returns:
-
setRanges
public void setRanges(java.util.List<FacetDateRangeItem> ranges)
setRanges- Parameters:
ranges
-
-
getFilters
public java.util.List<FacetFiltersItem> getFilters()
getFilters- Returns:
-
setFilters
public void setFilters(java.util.List<FacetFiltersItem> filters)
setFilters- Parameters:
filters
-
-
getFacetType
public FacetType getFacetType()
getFacetType- Returns:
-
setFacetType
public void setFacetType(FacetType facetType)
setFacetType- Parameters:
facetType
-
-
getOrder
public FacetOrder getOrder()
-
setOrder
public void setOrder(FacetOrder order)
-
getSubobject
public java.lang.String getSubobject()
-
-