com.funambol.common.pim.model.model
Class VCalendarContent

java.lang.Object
  extended by com.funambol.common.pim.model.model.VComponent
      extended by com.funambol.common.pim.model.model.VCalendarContent
All Implemented Interfaces:
VisitorInterface, java.lang.Comparable
Direct Known Subclasses:
VEvent, VTodo

public abstract class VCalendarContent
extends VComponent
implements VisitorInterface

This class does nothing. It's just a common superclass for VEvent and VTodo to be used as a comfortable argument or return type in converters.

Version:
$Id: VCalendarContent.java,v 1.2 2007-11-28 11:14:05 nichele Exp $

Field Summary
 
Fields inherited from class com.funambol.common.pim.model.model.VComponent
DATE_PROPERTIES, TYPE_APPOINTMENT, TYPE_TASK
 
Constructor Summary
VCalendarContent()
           
 
Method Summary
abstract  void accept(Visitor v)
          Visitor.
abstract  java.lang.Object accept(VisitorObject v, java.lang.Object argu)
          Visitor with arguments.
abstract  java.lang.String getSifType()
           
abstract  java.lang.String getVComponentName()
          Should be overridden in concrete subclass to return component name, for example VEVENT, VTODO or similar
 java.lang.String toString()
           
 
Methods inherited from class com.funambol.common.pim.model.model.VComponent
addComponent, addProperty, addProperty, clone, compareTo, convertUTCDatesToLocal, delComponent, delProperty, equals, getAllComponents, getAllProperties, getComponent, getComponents, getProperties, getProperty, hashCode, hasProperty, setProperty, toStringBuffer
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VCalendarContent

public VCalendarContent()
Method Detail

getVComponentName

public abstract java.lang.String getVComponentName()
Description copied from class: VComponent
Should be overridden in concrete subclass to return component name, for example VEVENT, VTODO or similar

Specified by:
getVComponentName in class VComponent

getSifType

public abstract java.lang.String getSifType()
Specified by:
getSifType in class VComponent

accept

public abstract void accept(Visitor v)
                     throws VisitorException
Visitor.

Specified by:
accept in interface VisitorInterface
Parameters:
v - the visitor
Throws:
VisitorException

accept

public abstract java.lang.Object accept(VisitorObject v,
                                        java.lang.Object argu)
                                 throws VisitorException
Visitor with arguments.

Specified by:
accept in interface VisitorInterface
Parameters:
v - the visitor
argu - the argument
Returns:
the result of the visit
Throws:
VisitorException

toString

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


Copyright © 2001-2009 Funambol.