io.sphere.sdk.zones.queries.LocationsCollectionQueryModelImpl Maven / Gradle / Ivy
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