Class Parameter

java.lang.Object
FAtiMA.Core.sensorEffector.Parameter
All Implemented Interfaces:
Serializable, Cloneable

public class Parameter extends Object implements Cloneable, Serializable
Represents a name-value parameter
Author:
Joao Dias
See Also:
  • Constructor Details

    • Parameter

      public Parameter(String parameterName, Object value)
      Creates a new Parameter
      Parameters:
      parameterName - - the name of the parameter
      value - - the value of the parameter
  • Method Details

    • GetName

      public String GetName()
      Gets the Parameter's name
      Returns:
      the parameter's name
    • GetValue

      public Object GetValue()
      Gets the Parameter's value
      Returns:
      - the parameter's value
    • toString

      public String toString()
      Converts the Parameter to a String
      Overrides:
      toString in class Object
      Returns:
      the converted String
    • clone

      public Object clone()
      Creates a new copy of the Parameter
      Overrides:
      clone in class Object
      Returns:
      a new Parameter equal to this one