Skip to content

Instantly share code, notes, and snippets.

@yaronv
Created August 1, 2015 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaronv/53e0b52a0f171dd1ad1e to your computer and use it in GitHub Desktop.
Save yaronv/53e0b52a0f171dd1ad1e to your computer and use it in GitHub Desktop.
package yv.jot.Models;
public class Alarm {
private long ID;
private String time;
private String destination;
private int extra;
private boolean active;
public Alarm() {
}
public Alarm(String time, String destination, int extra, boolean active) {
this.setTime(time);
this.setDestination(destination);
this.setExtra(extra);
this.setActive(active);
}
public long getID() {
return ID;
}
public void setID(long ID) {
this.ID = ID;
}
public boolean isActive() {
return active;
}
public void setActive(boolean active) {
this.active = active;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
public String getDestination() {
return destination;
}
public void setDestination(String destination) {
this.destination = destination;
}
public int getExtra() {
return extra;
}
public void setExtra(int extra) {
this.extra = extra;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment