com.genesyslab.ail
Interface FilterTreeElement

All Known Subinterfaces:
FilterLeaf, FilterNode

public interface FilterTreeElement

FilterTreeElement is used to define the filter in SearchContactTemplate. It contains the root element of a tree of filter nodes and leaves. It allows defining a unique root expression which can be a FilterLeaf xor a FilterNode. It's an abstract element.


Method Summary
 FilterNode getParent()
          Gets the parent FilterNode of a sub-node expression FilterNode.
 boolean isNode()
          Returns the status of the real object.
 

Method Detail

isNode

boolean isNode()
Returns the status of the real object.

Returns:
status as boolean: true if the object is a FilterNode; false if the object is a FilterLeaf.

getParent

FilterNode getParent()
Gets the parent FilterNode of a sub-node expression FilterNode.

Returns:
a parent as FilterNode or null.