Update ResourceAdaptor.java

change DPID to String type