com.bixuebihui.jdbc.entity.CountObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c-dbtools Show documentation
Show all versions of c-dbtools Show documentation
a fast small database connection pool and a active record flavor mini framework
package com.bixuebihui.jdbc.entity;
import java.io.Serializable;
/**
* CountObject class.
*
* @author xingwx
* @version $Id: $Id
*/
public class CountObject implements Serializable {
/**
*
*/
private static final long serialVersionUID = 7022753581609128376L;
private String key;
private long count;
private V value;
/**
* Getter for the field count
.
*
* @return a long.
*/
public long getCount() {
return count;
}
/**
* Setter for the field count
.
*
* @param count a long.
*/
public void setCount(long count) {
this.count = count;
}
/**
* Getter for the field value
.
*
* @return a V object.
*/
public V getValue() {
return value;
}
/**
* Setter for the field value
.
*
* @param value a V object.
*/
public void setValue(V value) {
this.value = value;
}
/**
* Getter for the field key
.
*
* @return a {@link java.lang.String} object.
*/
public String getKey() {
return key;
}
/**
* Setter for the field key
.
*
* @param key a {@link java.lang.String} object.
*/
public void setKey(String key) {
this.key = key;
}
}