Record Class FacetSketchValue
java.lang.Object
java.lang.Record
io.vertigo.studio.notebook.search.FacetSketchValue
- All Implemented Interfaces:
Serializable
public record FacetSketchValue(String code, String listFilter, String label)
extends Record
implements Serializable
Valeur de facette relatif à une définition.
Les valeurs sont
- soit déclarée.
- soit déduite.
Exemple :
- Fourchettes de prix (valeurs déclarées)
- Fourchettes de dates (valeurs déclarées)
- Termes les plus usités (valeurs déduites)
- Clustering sémantique (valeurs déduites)
Fait partie du métamodèle lorsque la facette est déclarée par ses ranges.
Fait partie du modèle lorsque les valeurs sont déduites.
- Author:
- pchretien, mlaroche
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFacetSketchValue(String code, String listFilter, String label) Creates an instance of aFacetSketchValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.Returns the value of thelistFilterrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FacetSketchValue
Creates an instance of aFacetSketchValuerecord class.- Parameters:
code- the value for thecoderecord componentlistFilter- the value for thelistFilterrecord componentlabel- the value for thelabelrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
listFilter
Returns the value of thelistFilterrecord component.- Returns:
- the value of the
listFilterrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-