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