com.businessobjects.rebean.wi
Interface QueryNode

All Superinterfaces:
TreeNode
All Known Subinterfaces:
Query, QueryContainer

public interface QueryNode
extends TreeNode

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

QueryNode is the base interface for the Query tree. A QueryNode instance may be a QueryContainer or a Query.

Since:
11.5
See Also:
QueryContainer, Query, DataProvider, CombinedQueryOperator

Method Summary
 java.lang.String getID()
          Returns the unique identifier for a QueryNode in a DataProvider.
 QueryNode getQueryNodeAt(int childIndex)
          Returns the QueryNode at given position.
 void remove(QueryNode node)
          Deletes the given child QueryNode from the query tree.
 void removeAllChildren()
          Delete all children of current QueryNode.
 
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode
getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

remove

void remove(QueryNode node)
Deletes the given child QueryNode from the query tree.

Parameters:
node - the child QueryNode.
Throws:
UnsupportedFeatureException - if DataProviderFeature.EDIT_QUERY isn't granted.

removeAllChildren

void removeAllChildren()
Delete all children of current QueryNode.

Throws:
UnsupportedFeatureException - if DataProviderFeature.EDIT_QUERY isn't granted.

getQueryNodeAt

QueryNode getQueryNodeAt(int childIndex)
Returns the QueryNode at given position.

Parameters:
childIndex - The index of the QueryNode to be retrieved.

getID

java.lang.String getID()
Returns the unique identifier for a QueryNode in a DataProvider.

Note: QueryNode ID is unique for each DataProvider. If you navigate through a query tree, unique identifier on each node have following value structure.