A characterization of partial directed line graphs