IModel.GetDerivedToRelationsOf Method
Namespace: NextDesign.Core
Description
If the specified model is an element derived from this model, all derived relations are obtained.
For example, if there is{element B} derived from this model, you can obtain its derived relations by specifying{element B} as an argument.
This can be used for the following processing.
- When there is a derived relationship between a request object and a specification object, obtain the relationship to the specification object from the request 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 |