org.opensync.engine.server
Class Agenda

java.lang.Object
  extended byorg.opensync.engine.server.Agenda
All Implemented Interfaces:
java.io.Serializable

public class Agenda
extends java.lang.Object
implements java.io.Serializable

This class encapsulate the concept of an agenda in the OpenSync application

See Also:
Serialized Form

Constructor Summary
Agenda()
          Construct an agenda object
 
Method Summary
 void addSchedule(Schedule schedule)
          Add a schedule to the agenda
 void addTask(Task task)
          Add a task to the agenda
 boolean getFinish()
          Get the finish status of the agenda
 java.lang.String getName()
          Get the name of the agenda
 Notification getNotification()
          Get the notification of the agenda
 java.util.Collection getSchedules()
          Get all schedules of the agenda
 java.util.Collection getTasks()
          Get all the tasks of the agenda
 void setFinish(boolean finish)
          Set the finish status of the agenda
 void setName(java.lang.String name)
          Set the name of the agenda
 void setNotification(Notification notification)
          Set the notification of the agenda
 java.lang.String toString()
          Use for debug only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Agenda

public Agenda()
Construct an agenda object

Method Detail

setFinish

public void setFinish(boolean finish)
Set the finish status of the agenda

Parameters:
finish - the finish status of the agenda

getFinish

public boolean getFinish()
Get the finish status of the agenda


setName

public void setName(java.lang.String name)
Set the name of the agenda

Parameters:
name - the name of the agenda

getName

public java.lang.String getName()
Get the name of the agenda


setNotification

public void setNotification(Notification notification)
Set the notification of the agenda

Parameters:
notification - the notification of the agenda

getNotification

public Notification getNotification()
Get the notification of the agenda


getTasks

public java.util.Collection getTasks()
Get all the tasks of the agenda


addTask

public void addTask(Task task)
Add a task to the agenda

Parameters:
task - the task to add

getSchedules

public java.util.Collection getSchedules()
Get all schedules of the agenda


addSchedule

public void addSchedule(Schedule schedule)
Add a schedule to the agenda

Parameters:
schedule - the schedule to add

toString

public java.lang.String toString()
Use for debug only



Copyright © 2004 sourceforge. All Rights Reserved.