Hi
I´m trying to retrieve an value from a class and returning a string value in to another class.
The return value is not a string it´s returning the class name and an object id.
Class IBAHandler
public class IBAHandler {
public String s;
public String obj;
public String IBAHandler() throws WTException {
//this.changeOrder = co;
wt.fc.ReferenceFactory rf = new wt.fc.ReferenceFactory();
wt.fc.WTReference ref = rf.getReference("VR:wt.change2.WTChangeOrder2:9049460");
wt.fc.Persistable obj = ref.getObject();
String s = obj;
return s;
}
Class RetriveHandler
if (workshops != null) {
IBAHandler workshops = new IBAHandler();
this.workshops=s;
} else {
workshops="Workshops not set";
}
(return workshops: ext.itt.www.productService.IBAHandler@231ef93)
Regards