Package org.olap4j.query
Class QueryEvent
- java.lang.Object
-
- org.olap4j.query.QueryEvent
-
public final class QueryEvent extends java.lang.Object
Describes which changes were performed to the query model.- Author:
- Luc Boudreau
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryEvent.Type
Describes the nature of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-