Package com.solibri.smc.api.model
Interface Quantities
public interface Quantities
Provides access to the quantities of a
Component
.- Since:
- 9.10.2
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Specifies the type of the quantity. -
Method Summary
Modifier and TypeMethodDescriptionget
(Quantities.Type quantityType) Returns the value of the quantity of given type.static Quantities
Returns the available quantities of the given component.
-
Method Details
-
of
Returns the available quantities of the given component.- Parameters:
component
- the component whose available quantities are returned- Returns:
- the available quantities of the given component
-
get
Returns the value of the quantity of given type. If the quantity is not present or applicable to the component, then returns empty.- Parameters:
quantityType
- the type of the quantity- Returns:
- the value of the quantity of given type
- Since:
- 9.10.2
-