io.sphere.sdk.queries.SphereEnumerationQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.queries;
import io.sphere.sdk.models.SphereEnumeration;
import javax.annotation.Nullable;
final class SphereEnumerationQueryModelImpl extends QueryModelImpl implements SphereEnumerationQueryModel {
public SphereEnumerationQueryModelImpl(@Nullable final QueryModel parent, @Nullable final String pathSegment) {
super(parent, pathSegment);
}
@Override
public QueryPredicate is(final E enumValue) {
return isPredicate(enumValue.toSphereName());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy