agentland.info
Class Schedule

java.lang.Object
  |
  +--agentland.info.Schedule
All Implemented Interfaces:
Serializable

public class Schedule
extends Object
implements Serializable

Describe class Schedule here.

See Also:
Serializable, Serialized Form

Constructor Summary
Schedule()
          Creates a new Schedule instance.
Schedule(Vector a)
           
 
Method Summary
 void addApp(Appointment a)
           
 Vector addAppointment(Appointment a)
          Describe addAppointment method here.
 void addAppointments(Appointment[] a)
          Describe addAppointments method here.
 void clear()
          Describe clear method here.
 void clear(GregorianCalendar day)
          Describe clear method here.
 Appointment getAppointment(GregorianCalendar time)
          Describe getAppointment method here.
 int getAppointments(GregorianCalendar from, GregorianCalendar to, Vector meetings)
          Describe getAppointments method here.
 boolean isEmpty()
           
 String listAppointments(GregorianCalendar start, String catalog, String society)
          Describe listAppointments method here.
 String listAppointments(String catalog, String society)
          Describe listAppointments method here.
 Vector removeApp(int index, int number)
          Describe removeApp method here.
 void removeAppointment(Appointment a)
          Describe removeAppointment method here.
 void removeAppointments(Appointment[] a)
          Describe removeAppointments method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schedule

public Schedule()
Creates a new Schedule instance.

Schedule

public Schedule(Vector a)
Method Detail

clear

public void clear()
Describe clear method here.

addApp

public void addApp(Appointment a)

clear

public void clear(GregorianCalendar day)
Describe clear method here.
Parameters:
day - a GregorianCalendar value

addAppointment

public Vector addAppointment(Appointment a)
Describe addAppointment method here.
Parameters:
a - an Appointment value
Returns:
a Vector value

addAppointments

public void addAppointments(Appointment[] a)
Describe addAppointments method here.
Parameters:
a - an Appointment[] value

getAppointment

public Appointment getAppointment(GregorianCalendar time)
Describe getAppointment method here.
Parameters:
time - a GregorianCalendar value
Returns:
an Appointment value

getAppointments

public int getAppointments(GregorianCalendar from,
                           GregorianCalendar to,
                           Vector meetings)
Describe getAppointments method here.
Parameters:
from - a GregorianCalendar value
to - a GregorianCalendar value
meetings - a Vector value
Returns:
an int value

removeAppointment

public void removeAppointment(Appointment a)
Describe removeAppointment method here.
Parameters:
a - an Appointment value

removeAppointments

public void removeAppointments(Appointment[] a)
Describe removeAppointments method here.
Parameters:
a - an Appointment[] value

listAppointments

public String listAppointments(String catalog,
                               String society)
Describe listAppointments method here.
Parameters:
catalog - a String value
society - a String value
Returns:
a String value

listAppointments

public String listAppointments(GregorianCalendar start,
                               String catalog,
                               String society)
Describe listAppointments method here.
Parameters:
start - a GregorianCalendar value
catalog - a String value
society - a String value
Returns:
a String value

removeApp

public Vector removeApp(int index,
                        int number)
Describe removeApp method here.
Parameters:
index - an int value
number - an int value
Returns:
a Vector value

isEmpty

public boolean isEmpty()