org.olap4j.query
Class QueryEvent

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

public final class QueryEvent
extends Object

Describes which changes were performed to the query model.

Version:
$Id: QueryEvent.java 482 2012-01-05 23:27:27Z jhyde $
Author:
Luc Boudreau

Nested Class Summary
static class QueryEvent.Type
          Describes the nature of the event.
 
Method Summary
 Map<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 Map<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