ReminderDO.java
package com.sudogeeks.talking_reminder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
// ReminderDO class
//@Data
@Data
public class ReminderDO {
private int mID;
private String mTitle;
private String mDate;
private String mTime;
private String mRepeat;
private String mRepeatNo;
private String mRepeatType;
private String mActive;
private String ownerID = null; //Email Id of the owner/creater of the reminder
private String receiverID = null; //Email Id of the receiver of the reminder;
public ReminderDO(int ID, String Title, String Date, String Time, String Repeat, String RepeatNo, String RepeatType, String Active) {
mID = ID;
mTitle = Title;
mDate = Date;
mTime = Time;
mRepeat = Repeat;
mRepeatNo = RepeatNo;
mRepeatType = RepeatType;
mActive = Active;
}
public ReminderDO(String Title, String Date, String Time, String Repeat, String RepeatNo, String RepeatType, String Active) {
mTitle = Title;
mDate = Date;
mTime = Time;
mRepeat = Repeat;
mRepeatNo = RepeatNo;
mRepeatType = RepeatType;
mActive = Active;
}
ReminderDO() {
}
public String getOwnerID() {
return ownerID;
}
public void setOwnerID(String ownerID) {
this.ownerID = ownerID;
}
public String getReceiverID() {
return receiverID;
}
public void setReceiverID(String receiverID) {
this.receiverID = receiverID;
}
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 String getRepeatType() {
return mRepeatType;
}
public void setRepeatType(String repeatType) {
mRepeatType = repeatType;
}
public String getRepeatNo() {
return mRepeatNo;
}
public void setRepeatNo(String repeatNo) {
mRepeatNo = repeatNo;
}
public String getRepeat() {
return mRepeat;
}
public void setRepeat(String repeat) {
mRepeat = repeat;
}
public String getActive() {
return mActive;
}
public void setActive(String active) {
mActive = active;
}
}
com.sudogeeks.talking_reminder.ReminderDO
Data Object class for Reminder This class conatins all the attributes of reminder.
Definition: ReminderDO.java:15