candy.util.calendar
Class EntryTable

java.lang.Object
  |
  +--candy.core.candyObject
        |
        +--candy.util.calendar.EntryTable
All Implemented Interfaces:
net.jini.core.entry.Entry, java.io.Serializable

public class EntryTable
extends candyObject

An entryTable is used to keep record of all the calendar entries in the candySpace and the whole distributed application as a whole

Author:
Anya Kanevsky
See Also:
Serialized Form

Field Summary
(package private)  java.util.Hashtable table
           
 
Fields inherited from class candy.core.candyObject
description, handle, timestamp
 
Constructor Summary
EntryTable()
           
 
Method Summary
 void addEntry(CalendarEntry ce)
           
 java.util.Vector getEntries(java.lang.String dateKey)
           
 CalendarEntry getEntry(java.lang.String dateKey, int hour, int min)
           
 int getSize(java.lang.String key)
           
 void makeMeTemplate()
           
 boolean removeEntry(CalendarEntry ce)
           
 
Methods inherited from class candy.core.candyObject
getDescription, getHandle, setDescription, setHandle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

java.util.Hashtable table
Constructor Detail

EntryTable

public EntryTable()
Method Detail

addEntry

public void addEntry(CalendarEntry ce)

getEntries

public java.util.Vector getEntries(java.lang.String dateKey)

getEntry

public CalendarEntry getEntry(java.lang.String dateKey,
                              int hour,
                              int min)

removeEntry

public boolean removeEntry(CalendarEntry ce)

getSize

public int getSize(java.lang.String key)

makeMeTemplate

public void makeMeTemplate()