Class Parameters

  • All Implemented Interfaces:
    IParameters

    public class Parameters
    extends java.lang.Object
    implements IParameters
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.lang.Object> parameters  
    • Constructor Summary

      Constructors 
      Constructor Description
      Parameters()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsParameter​(java.lang.String name)
      Returns whether a parameter is set in this parameters.
      java.lang.Object getParameter​(java.lang.String name)  
      void setParameter​(java.lang.String name, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • parameters

        protected java.util.Map<java.lang.String,​java.lang.Object> parameters
    • Constructor Detail

      • Parameters

        public Parameters()
    • Method Detail

      • setParameter

        public void setParameter​(java.lang.String name,
                                 java.lang.Object value)
      • getParameter

        public java.lang.Object getParameter​(java.lang.String name)
        Specified by:
        getParameter in interface IParameters
      • containsParameter

        public boolean containsParameter​(java.lang.String name)
        Description copied from interface: IParameters
        Returns whether a parameter is set in this parameters.

        This is useful to differ a null value parameter from a non-existing parameter.

        Specified by:
        containsParameter in interface IParameters
        Parameters:
        name - the parameter name.
        Returns:
        true if the parameter is set, false otherwise.