Class 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.
      • 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.