com.sun.syndication.feed.module.sse.modules
Class Conflict

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

public class Conflict
extends SSEModule

element within

See Also:
Serialized Form

Field Summary
static java.lang.String BY_ATTRIBUTE
          An optional, string attribute.
static java.lang.String CONFLICTS_NAME
           
static java.lang.String NAME
           
static java.lang.String VERSION_ATTRIBUTE
          A required, integer attribute.
static java.lang.String WHEN_ATTRIBUTE
          An optional, date-time attribute.
 
Fields inherited from class com.sun.syndication.feed.module.sse.modules.SSEModule
NAMESPACES, PREFIX, SSE_NS, SSE_SCHEMA_URI
 
Constructor Summary
Conflict()
           
 
Method Summary
 void copyFrom(java.lang.Object obj)
           
 java.lang.String getBy()
           
 com.sun.syndication.feed.rss.Item getItem()
           
 java.lang.Integer getVersion()
           
 java.util.Date getWhen()
           
 void setBy(java.lang.String by)
           
 void setItem(com.sun.syndication.feed.rss.Item conflictItem)
           
 void setVersion(java.lang.Integer version)
           
 void setWhen(java.util.Date when)
           
 
Methods inherited from class com.sun.syndication.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 java.lang.String CONFLICTS_NAME
See Also:
Constant Field Values

NAME

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

BY_ATTRIBUTE

public static final java.lang.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 java.lang.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 java.lang.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(java.lang.Object obj)
Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom
Specified by:
copyFrom in class SSEModule

getBy

public java.lang.String getBy()

setBy

public void setBy(java.lang.String by)

getVersion

public java.lang.Integer getVersion()

setVersion

public void setVersion(java.lang.Integer version)

getWhen

public java.util.Date getWhen()

setWhen

public void setWhen(java.util.Date when)

setItem

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

getItem

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


Copyright © 2006-2009. All Rights Reserved.