Last active
December 9, 2015 04:31
-
-
Save brunojppb/5d7cde6e52b4d4d78fee to your computer and use it in GitHub Desktop.
TodoItem java class for the Todolist Android App
This file contains hidden or 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 bpaulino.com.br.todolist.model; | |
import java.util.UUID; | |
/** | |
* Created by bruno on 12/9/15. | |
*/ | |
public class TodoItem { | |
private UUID mId; | |
private String mTitle; | |
private String mDueDate; | |
public TodoItem() { | |
mId = UUID.randomUUID(); | |
} | |
public String getTitle() { | |
return mTitle; | |
} | |
public String getDueDate() { | |
return mDueDate; | |
} | |
public UUID getId() { | |
return mId; | |
} | |
public void setTitle(String title) { | |
mTitle = title; | |
} | |
public void setDueDate(String dueDate) { | |
mDueDate = dueDate; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment