-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from blanyal/database
Various Improvements
- Loading branch information
Showing
11 changed files
with
525 additions
and
28 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
/* | ||
* Copyright 2015 Blanyal D'souza. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
|
||
package com.blanyal.remindme; | ||
|
||
|
||
public class Reminder { | ||
|
||
private int mID; | ||
private String mTitle; | ||
private String mDate; | ||
private String mTime; | ||
private Boolean mRepeat; | ||
private String mRepeatNo; | ||
private String mRepeatType; | ||
private Boolean mActive; | ||
|
||
|
||
public Reminder(int ID, String Title, String Date, String Time, Boolean Repeat, String RepeatNo, String RepeatType, Boolean Active){ | ||
mID = ID; | ||
mTitle = Title; | ||
mDate = Date; | ||
mTime = Time; | ||
mRepeat = Repeat; | ||
mRepeatNo = RepeatNo; | ||
mRepeatType = RepeatType; | ||
mActive = Active; | ||
} | ||
|
||
public Reminder(String Title, String Date, String Time, Boolean Repeat, String RepeatNo, String RepeatType, Boolean Active){ | ||
mTitle = Title; | ||
mDate = Date; | ||
mTime = Time; | ||
mRepeat = Repeat; | ||
mRepeatNo = RepeatNo; | ||
mRepeatType = RepeatType; | ||
mActive = Active; | ||
} | ||
|
||
public Reminder(){} | ||
|
||
public int getID() { | ||
return mID; | ||
} | ||
|
||
public void setID(int ID) { | ||
mID = ID; | ||
} | ||
|
||
public String getTitle() { | ||
return mTitle; | ||
} | ||
|
||
public void setTitle(String title) { | ||
mTitle = title; | ||
} | ||
|
||
public String getDate() { | ||
return mDate; | ||
} | ||
|
||
public void setDate(String date) { | ||
mDate = date; | ||
} | ||
|
||
public String getTime() { | ||
return mTime; | ||
} | ||
|
||
public void setTime(String time) { | ||
mTime = time; | ||
} | ||
|
||
public Boolean isRepeat() { | ||
return mRepeat; | ||
} | ||
|
||
public void setRepeat(Boolean repeat) { | ||
mRepeat = repeat; | ||
} | ||
|
||
public String getRepeatType() { | ||
return mRepeatType; | ||
} | ||
|
||
public void setRepeatType(String repeatType) { | ||
mRepeatType = repeatType; | ||
} | ||
|
||
public String getRepeatNo() { | ||
return mRepeatNo; | ||
} | ||
|
||
public void setRepeatNo(String repeatNo) { | ||
mRepeatNo = repeatNo; | ||
} | ||
|
||
public Boolean isActive() { | ||
return mActive; | ||
} | ||
|
||
public void setActive(Boolean active) { | ||
mActive = active; | ||
} | ||
} |
Oops, something went wrong.