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

java.lang.Object
  extended by org.eclipse.ecf.provider.rss.channel.SseSharing
All Implemented Interfaces:
java.io.Serializable

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

In-Memory implementation of the sharing element.

Author:
Sergey Yakovlev
See Also:
Serialized Form

Field Summary
static int SSE_DEFAULT_WINDOW
           
static java.lang.String SSE_SPEC_VERSION
           
 
Constructor Summary
SseSharing()
          Constructs a SseSharing with the default version field.
SseSharing(java.lang.String version)
          Constructs a SseSharing with the specified version field.
 
Method Summary
 java.util.Date getSince()
          Returns the value of the since field.
 java.util.Date getUntil()
          Returns the value of the until field.
 java.lang.String getVersion()
          Returns the value of the version field.
 int getWindow()
          Returns the value of the window field.
 void setSince(java.util.Date since)
          Sets the since field to the given value.
 void setSince(java.lang.String since)
          Sets the since field to the given value.
 void setUntil(java.util.Date until)
          Sets the until field to the given value.
 void setUntil(java.lang.String until)
          Sets the until field to the given value.
 void setVersion(java.lang.String version)
          Sets the version field to the given value.
 void setWindow(int window)
          Sets the window field to the given value.
 void setWindow(java.lang.String window)
          Sets the window field to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSE_SPEC_VERSION

public static final java.lang.String SSE_SPEC_VERSION
See Also:
Constant Field Values

SSE_DEFAULT_WINDOW

public static final int SSE_DEFAULT_WINDOW
See Also:
Constant Field Values
Constructor Detail

SseSharing

public SseSharing()
Constructs a SseSharing with the default version field.


SseSharing

public SseSharing(java.lang.String version)
Constructs a SseSharing with the specified version field.

Parameters:
version - - the version field value to use.
Method Detail

getSince

public java.util.Date getSince()
Returns the value of the since field.

Returns:
the value for the since field.

getUntil

public java.util.Date getUntil()
Returns the value of the until field.

Returns:
the value for the until field.

getVersion

public java.lang.String getVersion()
Returns the value of the version field.

Returns:
the value for the version field.

getWindow

public int getWindow()
Returns the value of the window field.

Returns:
the value for the window field.

setSince

public void setSince(java.util.Date since)
Sets the since field to the given value.

Parameters:
since - - the value to be set for the since field.

setSince

public void setSince(java.lang.String since)
Sets the since field to the given value.

Parameters:
since - - the value to be set for the since field.

setUntil

public void setUntil(java.util.Date until)
Sets the until field to the given value.

Parameters:
until - - the value to be set for the until field.

setUntil

public void setUntil(java.lang.String until)
Sets the until field to the given value.

Parameters:
until - - the value to be set for the until field.

setVersion

public void setVersion(java.lang.String version)
Sets the version field to the given value.

Parameters:
version - - the value to be set for the version field.

setWindow

public void setWindow(int window)
Sets the window field to the given value.

Parameters:
window - - the value to be set for the window field.

setWindow

public void setWindow(java.lang.String window)
Sets the window field to the given value.

Parameters:
window - - the value to be set for the window field.