java.lang.Object
pt.unl.fct.di.novasys.babel.protocols.storage.operations.utils.ConditionsOnObjects

public class ConditionsOnObjects extends Object
An auxiliary class to enable defining a set of conditions to be applied to a list of objects. The class stores a Map of (String,List(String)) values, where each String represents the identifier of an object, and the List(String)being the list of conditions passed as a strings to be applied to the objects.
  • Field Details

    • serializer

      public static pt.unl.fct.di.novasys.network.ISerializer<ConditionsOnObjects> serializer
      Serializer for the conditions on objects collection.
  • Constructor Details

    • ConditionsOnObjects

      public ConditionsOnObjects(Map<String,List<String>> conditions)
      Creates a list of conditions to be applied to a set of objects.
      Parameters:
      conditions - the conditions
  • Method Details

    • getConditions

      public Map<String,List<String>> getConditions()
      Gets the conditions to be applied to the objects.
      Returns:
      the conditions to be applied to the objects.