Back to project page datapulse.
The source code is released under:
GNU General Public License
If you think the Android project datapulse 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 ar.idack.datapulse.model; /* w w w . j a v a 2s.c o m*/ import android.text.format.Time; public class Pulse { public static final String EXTRA_NAME = Pulse.class.getName() + ".name"; public static final String EXTRA_WIFI = Pulse.class.getName() + ".wifi"; public static final String EXTRA_DATA = Pulse.class.getName() + ".data"; public static final String EXTRA_DURATION = Pulse.class.getName() + ".duration"; public static final String EXTRA_DELAY = Pulse.class.getName() + ".delay"; public static final String EXTRA_START = Pulse.class.getName() + ".start"; public static final String EXTRA_END = Pulse.class.getName() + ".end"; private String name; private boolean wifi; private boolean data; private int duration; private int delay; private Time startTime; private Time endTime; public Pulse() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public boolean isWifi() { return wifi; } public void setWifi(boolean wifi) { this.wifi = wifi; } public boolean isData() { return data; } public void setData(boolean data) { this.data = data; } public int getDuration() { return duration; } public void setDuration(int duration) { this.duration = duration; } public int getDelay() { return delay; } public void setDelay(int delay) { this.delay = delay; } public Time getStartTime() { return startTime; } public void setStartTime(Time startTime) { this.startTime = startTime; } public Time getEndTime() { return endTime; } public void setEndTime(Time endTime) { this.endTime = endTime; } }