org.eclipse.ecf.provider.rss.channel
Class SseBase

java.lang.Object
  extended by org.eclipse.ecf.provider.rss.channel.SseBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SseConflict, SseHistory, SseUpdate

public class SseBase
extends java.lang.Object
implements java.io.Serializable

Base implementation of the SSE elements.

Author:
Sergey Yakovlev
See Also:
Serialized Form

Constructor Summary
SseBase()
          Constructs a SseBase with the default 'when' and 'by' attributes.
SseBase(java.util.Date when, java.lang.String by)
          Constructs a calendar with the specified 'when' and 'by' attributes.
 
Method Summary
 java.lang.String getBy()
          Returns the value of the 'by' field.
 java.util.Date getWhen()
          Returns the value of the 'when' field.
 void setBy(java.lang.String by)
          Sets the 'by' field to the given value.
 void setWhen(java.util.Date when)
          Sets the 'when' field to the given value.
 void setWhen(java.lang.String when)
          Sets the 'when' field to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SseBase

public SseBase()
Constructs a SseBase with the default 'when' and 'by' attributes.


SseBase

public SseBase(java.util.Date when,
               java.lang.String by)
Constructs a calendar with the specified 'when' and 'by' attributes.

Parameters:
when - - the 'when' field value to use.
by - - the 'by' field value.
Method Detail

getBy

public java.lang.String getBy()
Returns the value of the 'by' field.

Returns:
- the value for the 'by' field.

getWhen

public java.util.Date getWhen()
Returns the value of the 'when' field.

Returns:
- the value for the 'when' field.

setBy

public void setBy(java.lang.String by)
Sets the 'by' field to the given value.

Parameters:
by - - the value to be set for the 'by' field.

setWhen

public void setWhen(java.util.Date when)
Sets the 'when' field to the given value.

Parameters:
when - - the value to be set for the 'when' field.

setWhen

public void setWhen(java.lang.String when)
Sets the 'when' field to the given value.

Parameters:
when - - the value to be set for the 'when' field.