Interface InformationParameters


public interface InformationParameters
Allow to handle the creation of parameters for a parametric information.
Since:
9.12.7
  • Method Details

    • of

      static InformationParameters of(ParametricInformation<?> information)
      Return the parameter creation handler for a specific parametric information.
      Parameters:
      information - the parametric information
      Returns:
      the parameter creation handler
      Since:
      9.12.7
    • asList

      Get the parameters of the informaton as a List of InformationParameter object.
      Returns:
      the parameters
      Since:
      9.12.7
    • createBoolean

      BooleanInformationParameter createBoolean(String id, boolean initialValue)
      Create a boolean parameter and return its reference.
      Parameters:
      id - a unique id for the parameter
      initialValue - the initial value for the parameter
      Returns:
      a reference to the newly created parameter
      Since:
      9.12.7
    • createDouble

      DoubleInformationParameter createDouble(String id, PropertyType propertyType, double initialValue)
      Create a double parameter and return its reference.
      Parameters:
      id - a unique id for the parameter
      propertyType - the type of the quantity this double represents
      initialValue - the initial value for the parameter
      Returns:
      a reference to the newly created parameter
      Since:
      9.12.7
    • createInt

      IntInformationParameter createInt(String id, int initialValue)
      Create an int parameter and return its reference.
      Parameters:
      id - a unique id for the parameter
      initialValue - the initial value for the parameter
      Returns:
      a reference to the newly created parameter
      Since:
      9.12.7
    • createString

      StringInformationParameter createString(String id, String initialValue)
      Create a string parameter and return its reference.
      Parameters:
      id - a unique id for the parameter
      initialValue - the initial value for the parameter
      Returns:
      a reference to the newly created parameter
      Since:
      9.12.7