All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.search.TermFacetExpression Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.search;

import javax.annotation.Nullable;

import static java.util.Collections.emptyList;

public class TermFacetExpression extends TermExpression implements FacetExpressionBase {

    TermFacetExpression(final SearchModel searchModel, final TypeSerializer typeSerializer, @Nullable final String alias) {
        super(searchModel, typeSerializer, emptyList(), alias);
    }

    @Override
    public boolean equals(Object o) {
        return o != null && o instanceof FacetExpression && toSearchExpression().equals(((FacetExpression) o).toSearchExpression());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy