Class 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 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
    • Constructor Detail

      • SyncFinding

        public SyncFinding()
      • SyncFinding

        public SyncFinding​(long dataSourceId,
                           int type,
                           String description,
                           String extraInformation)
    • 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)