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

io.sphere.sdk.search.model.SingleValueSortSearchModel Maven / Gradle / Ivy

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

import io.sphere.sdk.search.SortExpression;

/**
 * A sort model to decide the direction of a model with just one value per entity
 * @see SingleValueSortSearchModelFactory to instantiate this class
 */
public class SingleValueSortSearchModel extends SortSearchModelImpl> {

    public SingleValueSortSearchModel(final SortableSearchModel> searchModel) {
        super(searchModel);
    }

    @Override
    public SortExpression byAsc() {
        return super.byAsc();
    }

    @Override
    public SortExpression byDesc() {
        return super.byDesc();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy