Hello,
I have got strange exception while using wt.fc.QueryResult class. In code below it returns type [Lwt.fc.Persistable; (with symbols) instead wt.fc.Persistable
protected void collectEntrance() {
try {
QueryResult qr = WTPartHelper.service.getUsesWTParts(part, new LatestConfigSpec());
while (qr.hasMoreElements()) {
WTPart nextPart = (WTPart) qr.nextElement();
//TODO:remove with specification element
switch (nextPart.getPartType().toString()) {
case "separable":
structure.add(new Assembly(nextPart, part));
break;
case "detail":
structure.add(new Detail(nextPart, part));
break;
}
}
} catch (WTException e) {
e.printStackTrace();
}
}
What should I do?
Thanks.