Created
August 1, 2015 09:57
-
-
Save yaronv/53e0b52a0f171dd1ad1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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