Class ConditionsOnObjects
java.lang.Object
pt.unl.fct.di.novasys.babel.protocols.storage.operations.utils.ConditionsOnObjects
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 Summary
FieldsModifier and TypeFieldDescriptionstatic pt.unl.fct.di.novasys.network.ISerializer<ConditionsOnObjects> Serializer for the conditions on objects collection. -
Constructor Summary
ConstructorsConstructorDescriptionConditionsOnObjects(Map<String, List<String>> conditions) Creates a list of conditions to be applied to a set of objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the conditions to be applied to the objects.
-
Field Details
-
serializer
Serializer for the conditions on objects collection.
-
-
Constructor Details
-
ConditionsOnObjects
Creates a list of conditions to be applied to a set of objects.- Parameters:
conditions- the conditions
-
-
Method Details
-
getConditions
Gets the conditions to be applied to the objects.- Returns:
- the conditions to be applied to the objects.
-