IFeatureModel interface
Namespace: NextDesign.Core
Description
This is an access object for the management model that structures the characteristics of the product (features).
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 |
|---|---|
| AllFeatures | List of all features held under this model |
| RootFeatures | List of features that are the base point of the feature tree |
Method
| Name | Description |
|---|---|
| AddFeatureConstraint | Adds a constraint relationship of the specified type between the specified features. |
| AddNewFeature | Adds a new base feature. |
| AddNewFeatureAt | Adds a new feature as a child element of the specified feature. |
| GetFeature | Gets the feature with the given name from all features maintained under this model. Returns null if no such feature exists. |
| GetFeatureConstraint | Gets the constraint relationship of the specified type between the specified features. |
| RemoveFeature | Removes the specified feature. If the feature to be deleted has child features, delete all of them. |
| RemoveFeatureByName | Removes the feature with the given name. If the feature to be deleted has child features, delete all of them. |
| RemoveFeatureConstraint | Removes a constraint relationship of the specified type between the specified features. |