Back to project page Tree-Task.
The source code is released under:
Apache License
If you think the Android project Tree-Task listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ghsoft.treetask; //from w ww . j ava2 s. co m import java.io.Serializable; import java.util.UUID; public class TaskHead implements Serializable { private static final long serialVersionUID = 1L; private TaskNode task; public final String taskID; public TaskHead() { taskID = UUID.randomUUID().toString(); } public void setTreeHead(TaskNode t) { this.task = t; } public TaskNode getTask() { return task; } public boolean archived() { return task.completion() == 100; } }