org.rometools.feed.module.sse.modules
Class Conflict

java.lang.Object
  extended by org.rometools.feed.module.sse.modules.SSEModule
      extended by org.rometools.feed.module.sse.modules.Conflict
All Implemented Interfaces:
com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Module, Serializable, Cloneable

public class Conflict
extends SSEModule

element within

See Also:
Serialized Form

Field Summary
static String BY_ATTRIBUTE
          An optional, string attribute.
static String CONFLICTS_NAME
           
static String NAME
           
static String VERSION_ATTRIBUTE
          A required, integer attribute.
static String WHEN_ATTRIBUTE
          An optional, date-time attribute.
 
Fields inherited from class org.rometools.feed.module.sse.modules.SSEModule
NAMESPACES, PREFIX, SSE_NS, SSE_SCHEMA_URI
 
Constructor Summary
Conflict()
           
 
Method Summary
 void copyFrom(com.sun.syndication.feed.CopyFrom obj)
           
 String getBy()
           
 com.sun.syndication.feed.rss.Item getItem()
           
 Integer getVersion()
           
 Date getWhen()
           
 void setBy(String by)
           
 void setItem(com.sun.syndication.feed.rss.Item conflictItem)
           
 void setVersion(Integer version)
           
 void setWhen(Date when)
           
 
Methods inherited from class org.rometools.feed.module.sse.modules.SSEModule
clone, getInterface, getUri
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFLICTS_NAME

public static final String CONFLICTS_NAME
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

BY_ATTRIBUTE

public static final String BY_ATTRIBUTE
An optional, string attribute. This text attribute identifies the endpoint that made the conflicting modification. It is used and compared programmatically. See sx:update for format guidance.

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

See Also:
Constant Field Values

VERSION_ATTRIBUTE

public static final String VERSION_ATTRIBUTE
A required, integer attribute. This is the version number of the conflicting modification.

See Also:
Constant Field Values

WHEN_ATTRIBUTE

public static final String WHEN_ATTRIBUTE
An optional, date-time attribute. This is the date-time when the conflicting modification took place. See sx:update for format guidance.

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

See Also:
Constant Field Values
Constructor Detail

Conflict

public Conflict()
Method Detail

copyFrom

public void copyFrom(com.sun.syndication.feed.CopyFrom obj)
Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom
Specified by:
copyFrom in class SSEModule

getBy

public String getBy()

setBy

public void setBy(String by)

getVersion

public Integer getVersion()

setVersion

public void setVersion(Integer version)

getWhen

public Date getWhen()

setWhen

public void setWhen(Date when)

setItem

public void setItem(com.sun.syndication.feed.rss.Item conflictItem)

getItem

public com.sun.syndication.feed.rss.Item getItem()


Copyright © 2013 ROME Project. All Rights Reserved.