IModel.GetDerivedToRelationsOf method
Namespace: NextDesign.Core
Description
If the specified model is an element derived from this model, get all the derived relationships.
For example, if there is{element B} derived from this model, you can obtain its derived relationship by specifying{element B} as an argument.
This can be used for processing such as:
・If there is a derived relationship between the request object and the specification object, obtain the relationship to the specification object from the request object side
This method evaluates IContextOption.PlModelAccessMode.
Returns an empty collection if no such association exists.
argument
Name | Type | Description |
---|---|---|
opposite | IModel | Opposite model Null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for opposite |