Back to project page NexusData.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project NexusData listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// THIS IS AN AUTO-GENERATED CLASS FILE. DO NOT EDIT DIRECTLY. //from w w w.j av a 2 s . co m package org.example.todo; import java.util.Set; import com.github.dkharrat.nexusdata.core.ManagedObject; class _User extends ManagedObject { public interface Property { final static String NAME = "name"; final static String TASKS = "tasks"; } public String getName() { return (String)getValue(Property.NAME); } public void setName(String name) { setValue(Property.NAME, name); } public Set<Task> getTasks() { return (Set<Task>)getValue(Property.TASKS); } public void setTasks(Set<Task> tasks) { setValue(Property.TASKS, tasks); } public void addTask(Task task) { getTasks().add(task); } }