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 int
EVENT_DELETE
An element that was before in the sync data source is not any morestatic int
EVENT_ERROR
An unexpected error was found while analyzing a particular situationstatic int
EVENT_NEW
A new element was detected in the sync data sourcestatic int
EVENT_UPDATE
The 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 long
getDataSourceId()
String
getDescription()
String
getExtraInformation()
int
getType()
void
setDataSourceId(long dataSourceId)
void
setDescription(String description)
void
setExtraInformation(String extraInformation)
void
setType(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)
-
-