-
Key: DDSXTY14-58
-
Status: open
-
Source: Object Computing, Inc. - OCI ( Mr. Adam Mitz)
-
Summary:
Definition of equality is based on the "Properties" of the class as defined by the UML models (for example, Table 54). However, associations/aggregations (which are not properties) are just as important for equality. An example is the TypeDescriptor that's associated with each DynamicType. While not a Property, the state of TypeDescriptor is effectively part of the state of DynamicType.
A related issue is that DynamicTypeMembers can only be equal "if they belong to the same type." This seems to be both unnecessary and prevents certain valid use cases. An application may want to determine if two different structs each have a string member of a certain name. Based on the Type System model (sect 7.2) it would be natural to apply the equals() operation on the members to check their logical equality independent of which struct they're declared in.
-
Reported: DDS-XTypes 1.3 — Mon, 8 Aug 2022 14:26 GMT
-
Updated: Mon, 8 Aug 2022 14:26 GMT
DDSXTY14 — Dynamic Binding: equals() for DynamicType/DynamicTypeMember and related types
- Key: DDSXTY14-58
- OMG Task Force: DDS Extensible Types (DDS-XTYPES) 1.4 RTF