com.businessobjects.rebean.wi
Interface FilterConditionNode

All Superinterfaces:
TreeNode
All Known Subinterfaces:
AdvancedCondition, ConditionContainer, ConditionObject, FilterConditionContainer, FilterConditionObject, FilterContainer, FilterObject, RankCondition

public interface FilterConditionNode
extends TreeNode

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

A specialization of TreeNode for filters and conditions.


Method Summary
 FilterConditionNode getFilterConditionNode(int childIndex)
          Returns the child at the specified position in the list.
 java.lang.String getID()
          Returns the identifier for a condition node.
 java.lang.String getName()
          Returns the name of this node.
 void remove(FilterConditionNode node)
          Deletes a specific filter node.
 void removeAllChildren()
          Removes any children.
 
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode
getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

removeAllChildren

void removeAllChildren()
Removes any children.


remove

void remove(FilterConditionNode node)
Deletes a specific filter node.

Parameters:
node - The filter condition node to delete. If node is not a child of this node, no error is produced.

getFilterConditionNode

FilterConditionNode getFilterConditionNode(int childIndex)
Returns the child at the specified position in the list. This is a specialization of TreeNode.getChildAt(int), since all FilterConditionNode children are also FilterConditionNodes.

Parameters:
childIndex - The index of the child to return (0 based)
Throws:
java.lang.ArrayIndexOutOfBoundsException - if index is out of range (index < 0 || index >= getChildCount())

getName

java.lang.String getName()
Returns the name of this node.

Returns:
the name of this node

getID

java.lang.String getID()
Returns the identifier for a condition node. This method returns the ID for instances of the following objects: The node identifier is unique for all DataProviders.

To retrieve Query information for a DataProvider using the identifier returned by this method, call DataProviders.findQueryFromConditionID(String).

Note: this method returns -1 if it is called for a FilterContainer or FilterObject instance.

Returns:
The unique identifier of this FilterConditionNode instance.
Since:
11.5