View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005913 | NodeSets, XSDs and Generated Code | Api Change | public | 2020-08-25 13:08 | 2021-02-23 17:25 |
Reporter | Jim Luth | Assigned To | Randy Armstrong | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0005913: Indication if a subtype is allowed as value | ||||
Description | We have different places where a DataType is provided but a subtype can be used.
We have currently no way to indicate if a subtype is allowed or even expected. Only if an abstract base type is used, a concrete subtype must be used. Most clients or implementations of information models in a server can only handle the exact type and are not prepared for subtypes. Options for this additional information should be:
| ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
related to | 0004422 | closed | Jeff Harding | 10000-003: Address Space | Indication if a subtype is allowed as value |
|
This is especially true for method arguments. If structures used in methods typically concrete types are meant and polymorphic datatypes are the exception. This has a big impact on generating methods stubs, especially on non-object-oriented languages like C. The programmer expects a method signature like e.g.
If the arguments are polymorphic by default we cannot use this kind of methods signature, instead, the programmer must deal with complex extensionobject structures, which are hard to use. |
|
Should be clarified in Part 3. |
|
UA Working Group discussion We could add an access level flag to a Variable to indicate if subtypes of the DataType are allowed. name could be 'allowSubDataTypes' |
|
Added new Field 'NoSubDataTypes' to AccessLevelExType which indicates a Variable’s ability to SubType its DataType in 8.58 |
|
Add NoSubDataTypes bit = 0x800. |
|
agreed to changes in telecon. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-25 13:08 | Jim Luth | New Issue | |
2020-08-25 13:08 | Jim Luth | Status | new => assigned |
2020-08-25 13:08 | Jim Luth | Assigned To | => Jeff Harding |
2020-08-25 13:08 | Jim Luth | Issue generated from: 0004422 | |
2020-08-25 13:08 | Jim Luth | Note Added: 0012705 | |
2020-08-25 13:08 | Jim Luth | Note Added: 0012706 | |
2020-08-25 13:08 | Jim Luth | Note Added: 0012707 | |
2020-08-25 13:08 | Jim Luth | Note Added: 0012708 | |
2020-08-25 13:08 | Jim Luth | Relationship added | related to 0004422 |
2020-08-25 13:08 | Jim Luth | Project | 10000-003: Address Space => NodeSets, XSDs and Generated Code |
2020-08-25 13:08 | Jim Luth | Category | Spec => Api Change |
2020-08-25 13:09 | Jim Luth | Assigned To | Jeff Harding => Randy Armstrong |
2020-09-07 20:46 | Randy Armstrong | Status | assigned => resolved |
2020-09-07 20:46 | Randy Armstrong | Resolution | open => fixed |
2020-09-07 20:46 | Randy Armstrong | Note Added: 0012759 | |
2020-11-10 17:46 | Jim Luth | Target Version | => 1.05 |
2021-02-23 17:25 | Jim Luth | Status | resolved => closed |
2021-02-23 17:25 | Jim Luth | Fixed in Version | => 1.05 |
2021-02-23 17:25 | Jim Luth | Note Added: 0013774 |