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

io.sphere.sdk.zones.queries.LocationsCollectionQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.zones.queries;

import io.sphere.sdk.queries.*;

import java.util.function.Function;

class LocationsCollectionQueryModelImpl extends QueryModelImpl implements LocationsCollectionQueryModel {
    public LocationsCollectionQueryModelImpl(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    @Override
    public CountryQueryModel country() {
        return countryQueryModel("country");
    }

    @Override
    public StringQueryModel state() {
        return stringModel("state");
    }

    @Override
    public QueryPredicate where(final QueryPredicate embeddedPredicate) {
        return embedPredicate(embeddedPredicate);
    }

    @Override
    public QueryPredicate where(final Function> embeddedPredicate) {
        return where(embeddedPredicate.apply(EmbeddedLocationsCollectionQueryModelImpl.of()));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy