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 SummaryModifier and TypeMethodDescriptionasList()Get the parameters of the informaton as a List ofInformationParameterobject.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 InformationParametersof(ParametricInformation<?> information) Return the parameter creation handler for a specific parametric information.
- 
Method Details- 
ofReturn the parameter creation handler for a specific parametric information.- Parameters:
- information- the parametric information
- Returns:
- the parameter creation handler
- Since:
- 9.12.7
 
- 
asListList<InformationParameter<?>> asList()Get the parameters of the informaton as a List ofInformationParameterobject.- Returns:
- the parameters
- Since:
- 9.12.7
 
- 
createBooleanCreate 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
 
- 
createDoubleCreate 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
 
- 
createIntCreate 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
 
- 
createStringCreate 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
 
 
-