| java.lang.Object com.knowgate.addrbook.DayPlan
DayPlan | public class DayPlan (Code) | | A bidimensional array with daily scheduled meeting in quarters of an hour.
author: Sergio Montoro Ten version: 1.0 |
Constructor Summary | |
public | DayPlan() |
getMeeting | public Meeting getMeeting(int slice, int slot) throws ArrayIndexOutOfBoundsException(Code) | | Get meeting information
Each meeting is asoociated with one or more day slices by having a list
at the slice that point to every meeting taking place on the slice.
Thus for retriving a meeting both the slice number and the relative ordinal
position of the meeting at the slice are needed.
Parameters: slice - [0...sliceCount()-1] Parameters: slot - [0...slotsPerSlice()-1] throws: ArrayIndexOutOfBoundsException - If slice<0 or slice>=sliceCount() or slot<0 or slot>=slotsPerSlice() Meeting or null if no meeting was found at the given (slice,slot) pair. |
seekMeeting | public Meeting seekMeeting(String sMeeting)(Code) | | Lookup a meeting given its unique identifier
Parameters: sMeeting - Meeting Unique Identifier Meeting or null if no meeting was found with given identifier. |
sliceCount | public int sliceCount()(Code) | | Slice count per day.
96 is the default and equals a day divided in 15 minutes slices
Maximum number of slices per day |
slotsPerSlice | public int slotsPerSlice()(Code) | | Maximum number of allowed concurrent meetings per day slice |
|
|