java.lang.Object
fr.gouv.vitam.common.database.builder.facet.Facet
Direct Known Subclasses:
DateRangeFacet, FiltersFacet, TermsFacet

public class Facet extends Object
Facet component
  • Field Details

    • currentFacet

      protected com.fasterxml.jackson.databind.node.ObjectNode currentFacet
    • currentTokenFACET

      protected BuilderToken.FACET currentTokenFACET
  • Constructor Details

    • Facet

      public Facet(String name)
      Constructor
      Parameters:
      name - name
  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getCurrentTokenFACET

      public BuilderToken.FACET 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 name
      value - parameter value
      Throws:
      InvalidCreateOperationException
    • toString

      public String toString()
      Overrides:
      toString in class Object