Package com.solibri.smc.api.info
Interface InformationParameters
public interface InformationParameters
Allow to handle the creation of parameters for a parametric information.
- Since:
- 9.12.7
-
Method Summary
Modifier and TypeMethodDescriptionasList()
Get the parameters of the informaton as a List ofInformationParameter
object.createBoolean
(String id, boolean initialValue) Create a boolean parameter and return its reference.createDouble
(String id, PropertyType propertyType, double initialValue) Create a double parameter and return its reference.Create an int parameter and return its reference.createString
(String id, String initialValue) Create a string parameter and return its reference.static InformationParameters
of
(ParametricInformation<?> information) Return the parameter creation handler for a specific parametric information.
-
Method Details
-
of
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
List<InformationParameter<?>> asList()Get the parameters of the informaton as a List ofInformationParameter
object.- Returns:
- the parameters
- Since:
- 9.12.7
-
createBoolean
Create a boolean parameter and return its reference.- Parameters:
id
- a unique id for the parameterinitialValue
- the initial value for the parameter- Returns:
- a reference to the newly created parameter
- Since:
- 9.12.7
-
createDouble
Create a double parameter and return its reference.- Parameters:
id
- a unique id for the parameterpropertyType
- the type of the quantity this double representsinitialValue
- the initial value for the parameter- Returns:
- a reference to the newly created parameter
- Since:
- 9.12.7
-
createInt
Create an int parameter and return its reference.- Parameters:
id
- a unique id for the parameterinitialValue
- the initial value for the parameter- Returns:
- a reference to the newly created parameter
- Since:
- 9.12.7
-
createString
Create a string parameter and return its reference.- Parameters:
id
- a unique id for the parameterinitialValue
- the initial value for the parameter- Returns:
- a reference to the newly created parameter
- Since:
- 9.12.7
-