com.miginfocom.calendar.activity.iofilter
Class ActivitySubscription

java.lang.Object
  extended by com.miginfocom.calendar.activity.iofilter.ActivitySubscription

public class ActivitySubscription
extends java.lang.Object

A subscription for some Activitys.
Subclass to add functionality for filtering, user info and such.


Constructor Summary
ActivitySubscription(java.lang.Object source, ImmutableDateRange dateRange)
          Constructor.
 
Method Summary
 ImmutableDateRange getDateRange()
          Returns the date range for the subscription.
 java.lang.Object getSource()
          The source that are subscribing for this date range.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivitySubscription

public ActivitySubscription(java.lang.Object source,
                            ImmutableDateRange dateRange)
Constructor.

Parameters:
source - The source that are subscribing for this date range. Might be a DateArea for instance.
dateRange - The date range for which to subscribe for activities. Not null.
Method Detail

getDateRange

public ImmutableDateRange getDateRange()
Returns the date range for the subscription. Not null.

Returns:
The date range for the subscription. Not null.

getSource

public java.lang.Object getSource()
The source that are subscribing for this date range. Might be a DateArea for instance

Returns:
The source that are subscribing for this date range. Might be null.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.