Hi Wasim,
Try this code to fetch the PDMLinkProduct object.
ReferenceFactory factory = new ReferenceFactory();
ObjectReference objRef = (ObjectReference)factory.getReference("OR: wt.pdmlink.PDMLinkProduct:162524”);
PDMLinkProduct product=(( PDMLinkProduct) objRef.getObject());
Regards,
Kaushik