Class ParameterInfo

java.lang.Object
jadex.bdi.runtime.impl.ParameterInfo

public class ParameterInfo extends Object
Parameter info.
  • Field Details

    • name

      protected String name
      The name.
    • type

      protected String type
      The type.
    • value

      protected String value
      The value as string.
    • props

      protected Map<String,String> props
      Other parameter properties.
  • Constructor Details

    • ParameterInfo

      public ParameterInfo()
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      the name
    • setName

      public ParameterInfo setName(String name)
      Set the name.
      Parameters:
      name - the name to set
    • getType

      public String getType()
      Get the type.
      Returns:
      the type
    • setType

      public ParameterInfo setType(String type)
      Set the type.
      Parameters:
      type - the type to set
    • getValue

      public String getValue()
      Get the value.
      Returns:
      the value
    • setValue

      public ParameterInfo setValue(String value)
      Set the value.
      Parameters:
      value - the value to set
    • getProps

      public Map<String,String> getProps()
      Returns:
      the props
    • setProps

      public ParameterInfo setProps(Map<String,String> props)
      Parameters:
      props - the props to set
    • addProp

      public ParameterInfo addProp(String name, String val)
      Add a property.
    • createParameterInfo

      public static ParameterInfo createParameterInfo(IParameter p, ClassLoader cl)
      Create a parameter info for a rparameter.
      Parameters:
      p - The parameter.
      Returns:
      The parameter info.