Prev | Next |
GetTypes
Return a list of known types in the External Provider.
Inputs
Parameter |
Details |
---|---|
parameters |
A JSON string of parameters. Reserved for future use. |
Outputs via Callbacks
AddProperty - 2 values per type to map. Use a unique index value for each mapping:
- AddProperty(index, "id", "artifact");
- AddProperty(index, "name", "Artifact");
[Optional] LogMessage or SetError - to provide user feedback.
Details
Most systems have an ID or non user-friendly name, as well as a user-friendly display name. Only Types that are returned here will be recognized by Enterprise Architect.
The values returned here will be matched against the Type returned in DefaultTypeMapping and GetItem.
If possible, this list of types should be dynamically created by querying the External Provider for a list of its known types. The list of types can be hard-coded for providers that do not provide a list of types.