Package com.solibri.smc.api.info
Interface InformationParameter<T>
- Type Parameters:
T- the type of the value contains by this parameter
- All Known Subinterfaces:
BooleanInformationParameter,DoubleInformationParameter,IntInformationParameter,StringInformationParameter
public interface InformationParameter<T>
This class defines an information parameter.
- Since:
- 9.12.7
- See Also:
ParametricInformation
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the information parameter id.getValue()Returns the value of this information parameter.voidsetStringValue(String newValue)Sets the value of this information parameter from String.voidSets the value of this information parameter.
-
Method Details
-
getId
String getId()Returns the information parameter id. The id describes what the parameter is for and it is unique within the information.- Returns:
- the information parameter id
- Since:
- 9.12.7
-
getValue
T getValue()Returns the value of this information parameter.- Returns:
- the value
- Since:
- 9.12.7
-
setValue
Sets the value of this information parameter.- Parameters:
newValue- the new value- Since:
- 9.12.7
-
setStringValue
Sets the value of this information parameter from String.- Parameters:
newValue- the new value as String- Since:
- 9.12.7
-