Class Facet
java.lang.Object
fr.gouv.vitam.common.database.builder.facet.Facet
- Direct Known Subclasses:
DateRangeFacet
,FiltersFacet
,TermsFacet
Facet component
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
protected BuilderToken.FACET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkStringParameterValue
(String param, String value) Check if parameter is validcom.fasterxml.jackson.databind.node.ObjectNode
Retrieve the current facetgetName()
void
toString()
-
Field Details
-
currentFacet
protected com.fasterxml.jackson.databind.node.ObjectNode currentFacet -
currentTokenFACET
-
-
Constructor Details
-
Facet
Constructor- Parameters:
name
- name
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
getCurrentTokenFACET
- Returns:
- FACET token
-
getCurrentFacet
public com.fasterxml.jackson.databind.node.ObjectNode getCurrentFacet()Retrieve the current facet- Returns:
- facet as an ObjectNode
-
checkStringParameterValue
protected void checkStringParameterValue(String param, String value) throws InvalidCreateOperationException Check if parameter is valid- Parameters:
param
- parameter namevalue
- parameter value- Throws:
InvalidCreateOperationException
-
toString
-