Using the following code:
QuerySpec qs = new QuerySpec(WTPart.class);
qs.appendWhere(new SearchCondition(WTPart.class, WTPart.CREATOR_NAME, SearchCondition.EQUAL, name));
Got error
Attribute "creator.name" is not attribute of class "wt.part.WTPart"
I also want to know how to query part by modifier name
Thanks.