IModel.GetDerivedFromRelationsOf Method
Namespace: NextDesign.Core
Description
If this model is an element derived from the specified model, all derived relations are obtained.
For example, if this model is an element derived from{element A}, you can obtain its derived relations by specifying{element A} as an argument.
This can be used for the following processing.
- If there is a derived relationship between a requirement object and a specification object, obtain the relationship to the requirement object from the specification object side.
This method evaluates IContextOption.PlModelAccessMode.
If there is no corresponding relationship, it returns an empty collection.
Arguments
Name | Type | Description |
---|---|---|
opposite | IModel | Other model null cannot be specified. |
Return value
- IRelationshipCollection
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |