Skip to content

Connection classifier type matching #5

@avrabe

Description

@avrabe

Context

Connection validation currently checks direction (in/out) but not data type compatibility. A connection from out data port SensorData to in data port ControllerInput should verify that SensorData and ControllerInput are type-compatible.

Requirements

  • Resolve classifier references on connection endpoints
  • Check type compatibility: exact match, subtype (extends), or compatible base type
  • Validate access connection types (provides/requires classifiers must match)
  • Feature group connection type compatibility

References

  • AS5506 §9.3 (port connection legality), §9.5 (access connections)
  • OSATE2: PortConnectionConsistency.java

Acceptance criteria

  • Connection validation checks data classifier compatibility
  • Incompatible classifiers produce diagnostics
  • Subtype relationships (extends) are considered compatible
  • Tests for matching, mismatched, and subtype connections

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions