io.sphere.sdk.products.search.ProductAttributeFilterSearchModel Maven / Gradle / Ivy
package io.sphere.sdk.products.search;
import io.sphere.sdk.products.ProductProjection;
import io.sphere.sdk.search.model.*;
import javax.annotation.Nullable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZonedDateTime;
public class ProductAttributeFilterSearchModel extends SearchModelImpl {
ProductAttributeFilterSearchModel(@Nullable final SearchModel parent, @Nullable final String pathSegment) {
super(parent, pathSegment);
}
public TermFilterSearchModel ofBoolean(final String attributeName) {
return booleanSearchModel(attributeName).filtered();
}
public TermFilterSearchModel ofString(final String attributeName) {
return stringSearchModel(attributeName).filtered();
}
public LocalizedStringFilterSearchModel ofLocalizedString(final String attributeName) {
return localizedStringFilterSearchModel(attributeName);
}
public EnumFilterSearchModel ofEnum(final String attributeName) {
return enumFilterSearchModel(attributeName);
}
public LocalizedEnumFilterSearchModel ofLocalizableEnum(final String attributeName) {
return localizedEnumFilterSearchModel(attributeName);
}
public RangeFilterSearchModel ofNumber(final String attributeName) {
return numberSearchModel(attributeName).filtered();
}
public MoneyFilterSearchModel ofMoney(final String attributeName) {
return moneyFilterSearchModel(attributeName);
}
public RangeFilterSearchModel ofDate(final String attributeName) {
return dateSearchModel(attributeName).filtered();
}
public RangeFilterSearchModel ofTime(final String attributeName) {
return timeSearchModel(attributeName).filtered();
}
public RangeFilterSearchModel ofDateTime(final String attributeName) {
return datetimeSearchModel(attributeName).filtered();
}
public ReferenceFilterSearchModel ofReference(final String attributeName) {
return referenceFilterSearchModel(attributeName);
}
public TermFilterSearchModel ofBooleanSet(final String attributeName) {
return ofBoolean(attributeName);
}
public TermFilterSearchModel ofStringSet(final String attributeName) {
return ofString(attributeName);
}
public LocalizedStringFilterSearchModel ofLocalizedStringSet(final String attributeName) {
return ofLocalizedString(attributeName);
}
public EnumFilterSearchModel ofEnumSet(final String attributeName) {
return ofEnum(attributeName);
}
public LocalizedEnumFilterSearchModel ofLocalizableEnumSet(final String attributeName) {
return ofLocalizableEnum(attributeName);
}
public RangeFilterSearchModel ofNumberSet(final String attributeName) {
return ofNumber(attributeName);
}
public MoneyFilterSearchModel ofMoneySet(final String attributeName) {
return ofMoney(attributeName);
}
public RangeFilterSearchModel ofDateSet(final String attributeName) {
return ofDate(attributeName);
}
public RangeFilterSearchModel ofTimeSet(final String attributeName) {
return ofTime(attributeName);
}
public RangeFilterSearchModel ofDateTimeSet(final String attributeName) {
return ofDateTime(attributeName);
}
public ReferenceFilterSearchModel ofReferenceSet(final String attributeName) {
return ofReference(attributeName);
}
}