org.eclipse.ecf.datashare.mergeable
Interface IItem

All Superinterfaces:
IIdentifiable

public interface IItem
extends IIdentifiable


Method Summary
 java.util.List getConflicts()
          Get conflicts for this item
 java.lang.String getDescription()
          Get the description associated with this item
 IItemHistory getHistory()
          Get history for this item
 java.lang.Integer getVersion()
          Get version number for item.
 
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable
getID
 

Method Detail

getDescription

java.lang.String getDescription()
Get the description associated with this item

Returns:
String description. May be null if no description (or null description) has been set

getVersion

java.lang.Integer getVersion()
Get version number for item. From RSS SSE specification starts with '1' and is incremented each time the item is changed

Returns:
Integer version number. Minimum of 1.

getHistory

IItemHistory getHistory()
Get history for this item

Returns:
IHistory instacne that describes history for this item. Will not return null, but may return empty List

getConflicts

java.util.List getConflicts()
Get conflicts for this item

Returns:
List of IConflict instances that describe conflicts for this item. Will not return null, but may return empty List