com.nitorcreations.wicket.model.GroupingModel Maven / Gradle / Ivy
package com.nitorcreations.wicket.model;
import java.util.Collection;
import java.util.List;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.IWrapModel;
/**
* A model that acts similarly as a MultiMap, but with sortable keys and corresponding
* values.
* @param the type of the key
* @param the type of a single entry in the value list
*/
public interface GroupingModel extends IWrapModel> {
/** Get the model of all keys */
IModel> getKeysModel();
/** Get the model of values corresponding to a key */
IModel> getValuesModel(IModel key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy