com.sun.syndication.feed.sse
Class History

java.lang.Object
  extended by com.sun.syndication.feed.sse.History

public class History
extends java.lang.Object

Element within
.


Constructor Summary
History()
           
 
Method Summary
 java.lang.String getBy()
          Provides access to a text attribute identifying the unique endpoint that made the most recent modification.
 java.util.Date getWhen()
          Get the date-time when the most recent modification took place.
 void setBy(java.lang.String by)
          Sets the endpoint that made the most recent modification.
 void setWhen(java.util.Date when)
          Set the date-time when the most recent modification took place.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

History

public History()
Method Detail

getWhen

public java.util.Date getWhen()
Get the date-time when the most recent modification took place.

This is the date-time when the most recent modification took place. If this attribute is omitted the value defaults to the earliest time representable in RFC 822.

Returns:
the date-time when the most recent modification took place.

setWhen

public void setWhen(java.util.Date when)
Set the date-time when the most recent modification took place.

Either or both of the when or by attributes MUST be present; it is invalid to have neither.

Parameters:
when - the date-time when the most recent modification took place.

getBy

public java.lang.String getBy()
Provides access to a text attribute identifying the unique endpoint that made the most recent modification. This SHOULD be some combination of user and device (so that a given user can edit a feed on multiple devices). This attribute is used programmatically to break ties in case two changes happened at the same time (within the same second).

Either or both of the when or by must be present; it is invalid to have neither.

If this attribute is omitted the value defaults to the empty string (which must be less than all other values for purposes of collation).

Returns:
A text attribute identifying the unique endpoint that made the most recent modification.

setBy

public void setBy(java.lang.String by)
Sets the endpoint that made the most recent modification.

Either or both of the when or by attributes MUST be present; it is invalid to have neither.

Parameters:
by - the endpoint that made the most recent modification.


Copyright © 2004-2006 Sun Microsystems. All Rights Reserved.