Nitido Inc.

com.nitido.nimx.nuggets.wcap
Class FreeBusySlot

java.lang.Object
  extended by com.nitido.nimx.nuggets.wcap.FreeBusySlot

public class FreeBusySlot
extends java.lang.Object

The data object that encapsulates the information of a time slot that is free or busy for the calendar's primary owner. Each instance of the object indicate a time slot (specified by StartTime and EndTime) and a isFree boolean flag to indicate whether it is free or busy.

This object is created by the WcapNugget.getFreeBusySlot(...) method and a WcapNugget user does not suppose to instantiate it.


Constructor Summary
FreeBusySlot(boolean isFree, java.util.Date start, java.util.Date end)
          Default constructor.
 
Method Summary
 boolean equals(java.lang.Object inObj)
          Override the default java.lang.Object's equal command.
 java.util.Date getEndTime()
          Get the end of the time slot.
 boolean getIsFree()
          Get the flag that indicates whether the time slot is free.
 java.util.Date getStartTime()
          Get the start of the time slot.
 java.lang.String toString()
          Convert the object to a debug message.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreeBusySlot

public FreeBusySlot(boolean isFree,
                    java.util.Date start,
                    java.util.Date end)
Default constructor. This is invoked by WcapNugget only.

Parameters:
isFree - boolean flag to indicate whether the time slot is free or not.
Method Detail

getIsFree

public boolean getIsFree()
Get the flag that indicates whether the time slot is free.


getStartTime

public java.util.Date getStartTime()
Get the start of the time slot.


getEndTime

public java.util.Date getEndTime()
Get the end of the time slot.


equals

public boolean equals(java.lang.Object inObj)
Override the default java.lang.Object's equal command. This will compares the content of the fields. In case of a vector or array field, it will compare the content of the field.

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Convert the object to a debug message.

Overrides:
toString in class java.lang.Object

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.