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

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

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

import java.util.function.Function;

public interface MetaModelFacetDsl extends FacetDsl {

    /**
     * Creates a new object with the properties of the old object but replaces all facets with a single facet expression to it by using meta models.
     * @param m function to use the meta model for facets to create a facet expression
     * @return new object
     */
    C withFacets(final Function> m);

    /**
     * Creates a new object with the properties of the old object but adds a new facet to it by using meta models.
     * @param m function to use the meta model for facets to create a facet expression
     * @return new object
     */
    C plusFacets(final Function> m);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy