
com.adobe.cq.commerce.common.DefaultCommerceSort Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2013 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.cq.commerce.common;
import com.adobe.cq.commerce.api.CommerceSort;
/**
* Default implementation for {@code CommerceSort}.
*
* @see CommerceSort
*/
public class DefaultCommerceSort implements CommerceSort {
private String id;
private String displayName;
private boolean isSelected;
/**
* {@inheritDoc}
*/
public String getId() {
return id;
}
/**
* {@inheritDoc}
*/
public String getDisplayName() {
return displayName;
}
/**
* {@inheritDoc}
*/
public boolean isSelected() {
return isSelected;
}
public void setId(String id) {
this.id = id;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public void setSelected(boolean isSelected) {
this.isSelected = isSelected;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy