A DataAssociation cannot target a DataInput nor have a DataOutput as its source.
DataInputs are meant to receive data while DataOutputs are meant to output data.
If you have incoming data on a DataOutput or outgoing data on a DataInput, you are doing something wrong and you should change your DataAssociation source or target.