Back to project page Munin-for-Android.
The source code is released under:
GNU General Public License
If you think the Android project Munin-for-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.chteuchteu.munin.obj; //from w w w .j ava2 s .com public class GraphWidget { private long id; private String period; private boolean wifiOnly; private boolean hideServerName; private MuninPlugin plugin; private int widgetId; public GraphWidget() { this.period = "day"; this.wifiOnly = false; this.hideServerName = false; } public long getId() { return this.id; } public void setId(long id) { this.id = id; } public String getPeriod() { return period; } public void setPeriod(String period) { this.period = period; } public boolean isWifiOnly() { return wifiOnly; } public void setWifiOnly(int b) { this.wifiOnly = b == 1; } public void setWifiOnly(boolean wifiOnly) { this.wifiOnly = wifiOnly; } public boolean getHideServerName() { return this.hideServerName; } public void setHideServerName(int b) { this.hideServerName = b == 1; } public void setHideServerName(boolean val) { this.hideServerName = val; } public MuninPlugin getPlugin() { return plugin; } public void setPlugin(MuninPlugin plugin) { this.plugin = plugin; } public int getWidgetId() { return widgetId; } public void setWidgetId(int widgetId) { this.widgetId = widgetId; } }