if(value instanceof Component){
qry=inheritance(pc,session,qry,cfc,(Component) value,entityName);
}
else if(CommonUtil.isArray(value)){
arr = CommonUtil.toArray(value);
Iterator<Object> it = arr.valueIterator();
while(it.hasNext()){
value=it.next();
if(value instanceof Component){
qry=inheritance(pc,session,qry,cfc,(Component) value,entityName);
}