Class Parameter

    • Constructor Detail

      • Parameter

        public Parameter()
      • Parameter

        public Parameter​(String name,
                         Object value)
      • Parameter

        public Parameter​(String name,
                         Object value,
                         int mode)
    • Method Detail

      • setName

        public void setName​(String name)
        Sets the name of this parameter. This will be used as the key in the dinamically loaded behaviour DataStore for the parameter value
      • getName

        public String getName()
        Returns:
        the name of this parameter.
      • setValue

        public void setValue​(Object value)
        Sets the value of this parameter. The BehaviourLoading ontology extends the SerializableOntology and therefore whatever Serializable object can be used.
      • getValue

        public Object getValue()
        Returns:
        the value of this parameter.
      • setMode

        public void setMode​(int mode)
        Sets the IO mode of this parameter. This must be one of IN_MODE, OUT_MODE, INOUT_MODE.
      • getMode

        public int getMode()
        Returns:
        the IO mode of this parameter.