org.olap4j.query
Class QueryEvent

java.lang.Object
  extended by org.olap4j.query.QueryEvent

public final class QueryEvent
extends java.lang.Object

Describes which changes were performed to the query model.

Version:
$Id: $
Author:
Luc Boudreau

Nested Class Summary
static class QueryEvent.Type
          Describes the nature of the event.
 
Method Summary
 java.util.Map<java.lang.Integer,org.olap4j.query.QueryNode> getChildrens()
          Returns a map of objects affected by the event and their index in the list of the source children.
 QueryEvent.Type getOperation()
          Returns the event type.
 org.olap4j.query.QueryNode getSource()
          Returns the object that generated this event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSource

public org.olap4j.query.QueryNode getSource()
Returns the object that generated this event.


getOperation

public QueryEvent.Type getOperation()
Returns the event type.


getChildrens

public java.util.Map<java.lang.Integer,org.olap4j.query.QueryNode> getChildrens()
Returns a map of objects affected by the event and their index in the list of the source children.

If the event is of type QueryEvent.Type.SELECTION_CHANGED, this method will return null because the source object was affected and not the children.


SourceForge.net_Logo