53 lines
741 B
Java
53 lines
741 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.accounting.analytics;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*
|
|
*/
|
|
public class Filter {
|
|
|
|
protected String key;
|
|
protected String value;
|
|
|
|
/**
|
|
* @param key the key to filter
|
|
* @param value the value fo the key to filter
|
|
*/
|
|
public Filter(String key, String value) {
|
|
this.key = key;
|
|
this.value = value;
|
|
}
|
|
|
|
/**
|
|
* @return the key
|
|
*/
|
|
public String getKey() {
|
|
return key;
|
|
}
|
|
|
|
/**
|
|
* @param key the key to set
|
|
*/
|
|
public void setKey(String key) {
|
|
this.key = key;
|
|
}
|
|
|
|
/**
|
|
* @return the value
|
|
*/
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
/**
|
|
* @param value the value to set
|
|
*/
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
}
|