org.davesag.tasktracker
Class UserListEntry
java.lang.Object
|
+--org.pronoic.cos.core.CosEntryTemplate
|
+--org.pronoic.cos.entry.CosEntry
|
+--org.davesag.tasktracker.ListEntry
|
+--org.davesag.tasktracker.UserListEntry
- All Implemented Interfaces:
- Archivable, Cloneable, CosEntryInterface, Distributable, Entry, Serializable
- public class UserListEntry
- extends ListEntry
UserListEntry is a named list of items that the User is keen on.
to use simply retrieve this list from the space, then walk through the
Iteration provided by getTaskIds to retrieve the tasks.
- See Also:
CosConnector
, Serialized Form
Field Summary |
String |
mUsername
the unique id of the task this task replaces. |
Constructor Summary |
UserListEntry()
default constructor to satisfy an entry or make a template for matching. |
UserListEntry(String username,
String listname)
use this constuctor when actually creating an entry. |
mUsername
public String mUsername
- the unique id of the task this task replaces. can be null and many to 1. currently unused
UserListEntry
public UserListEntry()
- default constructor to satisfy an entry or make a template for matching.
UserListEntry
public UserListEntry(String username,
String listname)
- use this constuctor when actually creating an entry.
- Parameters:
username
- The owner of this list.listname
- the arbitrary name for this list.
getUsername
public String getUsername()
makeNullTemplate
public void makeNullTemplate()
- Overrides:
makeNullTemplate
in class ListEntry
equals
public boolean equals(UserListEntry b)
- equals just tests the suppled UserListEntry for field equality with this task list.
- Parameters:
b
- The UserListEntry you wish to test.- Returns:
true
if they are equal, false
if not.
tasktracker API version 0.1 pre-release Copyright © 2002 Dave Sag. Released under the BSD Licence.