Class ProviderInputs

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Cloneable , java.util.Map

    
    public class ProviderInputs
    extends HashMap<K, V>
                        

    Property map containing key value pairs which represent the user input fields and the user response data that will be supplied to the associated provider.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ProviderInputs() Constructs an empty ProviderInputs object.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void addInput(@NonNull() String itemName, @Nullable() Object itemValue) Adds an attribute-value pair representing one of a provider's expected inputs to this ProviderInputs object.
      Object getInput(@NonNull() String itemName) Retrieves the object representing the value corresponding to the specified attribute from this ProviderInputs object.
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.util.Map

        copyOf, entry, of, ofEntries
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProviderInputs

        ProviderInputs()
        Constructs an empty ProviderInputs object.
    • Method Detail

      • addInput

         void addInput(@NonNull() String itemName, @Nullable() Object itemValue)

        Adds an attribute-value pair representing one of a provider's expected inputs to this ProviderInputs object.

        Parameters:
        itemName - The attribute name.
        itemValue - An object representing the value corresponding to the specified attribute.
      • getInput

        @Nullable() Object getInput(@NonNull() String itemName)

        Retrieves the object representing the value corresponding to the specified attribute from this ProviderInputs object.

        Parameters:
        itemName - The attribute name.
        Returns:

        An object representing the value corresponding to the specified attribute.