If its an engineered product with known stiffness values, I'd define it as an expansion joint.
If it's essentially infinitely flexible compared to the piping (similar to braided hoses), I'd probably treat the two ends as unconnected and confirm the relative moment (expansion/contraction/offset) is acceptable per the cutsheet.