QueryNode[] pred = node.getPredicates();
for (int i = 0; i < pred.length; i++)
{
if (pred[i].getType() == QueryNode.TYPE_RELATION)
{
RelationQueryNode pos = (RelationQueryNode)pred[i];
if (pos.getValueType() == QueryConstants.TYPE_POSITION)
{
node.setIndex(pos.getPositionValue());
}
}
}
NameQuery nameTest = null;