Class SyncFinding
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.commercial.sync.model.SyncFinding
-
public class SyncFinding extends Object
This class represents a single result from comparing the info from a sync data source and the corresponding information in the inventory database- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static intEVENT_DELETEAn element that was before in the sync data source is not any morestatic intEVENT_ERRORAn unexpected error was found while analyzing a particular situationstatic intEVENT_NEWA new element was detected in the sync data sourcestatic intEVENT_UPDATEThe attributes of a given element/set of elements were updated
-
Constructor Summary
Constructors Constructor Description SyncFinding()SyncFinding(long dataSourceId, int type, String description, String extraInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDataSourceId()StringgetDescription()StringgetExtraInformation()intgetType()voidsetDataSourceId(long dataSourceId)voidsetDescription(String description)voidsetExtraInformation(String extraInformation)voidsetType(int type)
-
-
-
Field Detail
-
EVENT_ERROR
public static int EVENT_ERROR
An unexpected error was found while analyzing a particular situation
-
EVENT_NEW
public static int EVENT_NEW
A new element was detected in the sync data source
-
EVENT_DELETE
public static int EVENT_DELETE
An element that was before in the sync data source is not any more
-
EVENT_UPDATE
public static int EVENT_UPDATE
The attributes of a given element/set of elements were updated
-
-
Method Detail
-
getType
public int getType()
-
setType
public void setType(int type)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getExtraInformation
public String getExtraInformation()
-
setExtraInformation
public void setExtraInformation(String extraInformation)
-
getDataSourceId
public long getDataSourceId()
-
setDataSourceId
public void setDataSourceId(long dataSourceId)
-
-