IProductLineModel interface
Namespace: NextDesign.Core
Description
This is an access object for the product line development support model.
Affiliation area
Name | Description |
---|---|
Productline | A group of APIs to access the productline model. |
Inherit Base
Name | Description |
---|---|
IModel | Provides access to NextDesign design model information. |
Property
Name | Description |
---|---|
ConfigurationModel | Configuration model |
CurrentProduct | Product currently in applied state. Returns null if there is no applicable product (150% model display). |
FeatureModels | List of Feature Models |
ProductAppliedState | Current product applied state. Returns one of the following status strings: - SpecifiedProduct : Applying any product. The product being applied can be obtained with CurrentProduct. - Master : No product applicable (150% model display). CurrentProduct returns null in this state. |
Method
Name | Description |
---|---|
AddNewFeatureModel | Adds a new feature model. |
ApplyProduct | Applies the specified product. If you change the feature model structure or the product application conditional expression after applying the product, calling this method will recalculate the product application result. |
ApplyProductBy | Applies the product with the given name and sets it as the current product. |
ExportAppliedProject | Exports the project with the specified product applied to the specified path. The exported project will be in the following state. - The profile is the same as the export source - Only valid model elements and editors exist for the specified product - No product line models (feature models, configuration models) />- no unit split |
RemoveFeatureModel | Removes the specified feature model. |
RemoveFeatureModelByName | Removes the feature model with the given name. |