org.newsml.toolkit
Interface RevisionStatus

All Superinterfaces:
BaseNode, IdNode

public interface RevisionStatus
extends BaseNode, IdNode

A new status for a previous revision.

The RevisionStatus provides a new status for a previous revision as a result of the release of the current revision: in plain English, now the new version of the news item is out, the status of the old one is as follows...

Version:
1.0
Author:
Reuters PLC

Method Summary
 int getRevision()
          Get the revision to which the new status applies.
 FormalName getStatus()
          Get the new status for the past revision.
 
Methods inherited from interface org.newsml.toolkit.BaseNode
getSession, getXMLName
 
Methods inherited from interface org.newsml.toolkit.IdNode
getDuid, getEuid
 

Method Detail

getStatus

public FormalName getStatus()
Get the new status for the past revision.
Returns:
A formal name representing the new status (not null).
See Also:
getRevision()

getRevision

public int getRevision()
Get the revision to which the new status applies.
Returns:
A positive integer indicating the previous revision, or -1 to indicate all previous revisions.