Class InventoryChangedEvent<T extends RfidTag>

  • Type Parameters:
    T - RfidTag instance
    All Implemented Interfaces:
    java.io.Serializable

    public class InventoryChangedEvent<T extends RfidTag>
    extends RfidEvent
    Author:
    man
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InventoryChangedEvent​(java.lang.String identifier, java.lang.Long timestamp, java.util.List<T> tags, java.util.List<T> newTags, java.util.List<T> lostTags)  
      InventoryChangedEvent​(java.lang.String identifier, java.util.List<T> tags, java.util.List<T> newTags, java.util.List<T> lostTags)  
    • Constructor Detail

      • InventoryChangedEvent

        public InventoryChangedEvent​(java.lang.String identifier,
                                     java.util.List<T> tags,
                                     java.util.List<T> newTags,
                                     java.util.List<T> lostTags)
        Parameters:
        identifier - identifier
        tags - List with current tag ids
        newTags - List with new tag ids
        lostTags - List with lost tag ids
      • InventoryChangedEvent

        public InventoryChangedEvent​(java.lang.String identifier,
                                     java.lang.Long timestamp,
                                     java.util.List<T> tags,
                                     java.util.List<T> newTags,
                                     java.util.List<T> lostTags)
        Parameters:
        identifier - identifier
        timestamp - timestamp
        tags - List with current tag ids
        newTags - List with new tag ids
        lostTags - List with lost tag ids
    • Method Detail

      • getTags

        public java.util.List<T> getTags()
        Returns:
        a list of tags currently in the inventory
      • getNewTags

        public java.util.List<T> getNewTags()
        Returns:
        a list of tags new in the inventory
      • getLostTags

        public java.util.List<T> getLostTags()
        Returns:
        a list of tags lost in the inventory