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

com.jidesoft.grouper.DefaultObjectGrouper Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
package com.jidesoft.grouper;

/**
 * Default implementation of ObjectGrouper. Its getGroupValue simply returns the value directly.
 */
public class DefaultObjectGrouper extends AbstractObjectGrouper {
    private String _name;

    public DefaultObjectGrouper() {
        this("");
    }

    public DefaultObjectGrouper(String name) {
        _name = name;
    }

    public Object getValue(Object value) {
        return value;
    }

    public Class getType() {
        return Object.class;
    }

    public String getName() {
        return _name;
    }

    public void setName(String name) {
        _name = name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy