@@ -0,0 +1,1403 @@
+/*%0A * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A * Mateusz Parzonka - initial API and implementation%0A */%0Apackage prm4j.indexing;%0A%0Aimport prm4j.api.IBinding;%0Aimport prm4j.api.Symbol;%0A%0A/**%0A * A event contains a %7B@link Symbol%7D and a number of %7B@link IBinding%7Ds.%0A *%0A * @param %3CA%3E%0A *            the type of the auxiliary data usable by base monitors%0A */%0Apublic class Event%3CA%3E %7B%0A%0A    private final Symbol symbol;%0A    private final A auxiliaryData;%0A    private final Object%5B%5D boundObjects;%0A%0A    public Event(Symbol symbol, Object%5B%5D parameterObjects) %7B%0A%09this.symbol = symbol;%0A%09this.auxiliaryData = null;%0A%09this.boundObjects = parameterObjects;%0A    %7D%0A%0A    public Event(Symbol symbol, A auxiliaryData, Object%5B%5D parameterObjects) %7B%0A%09this.symbol = symbol;%0A%09this.auxiliaryData = auxiliaryData;%0A%09this.boundObjects = parameterObjects;%0A    %7D%0A%0A    public Symbol getSymbol() %7B%0A%09return this.symbol;%0A    %7D%0A%0A    public A getAuxiliaryData() %7B%0A%09return this.auxiliaryData;%0A    %7D%0A%0A    public Object getBoundObject(int parameterId) %7B%0A%09return this.boundObjects%5BparameterId%5D;%0A    %7D%0A%0A    public Object%5B%5D getBoundObjects() %7B%0A%09return this.boundObjects;%0A    %7D%0A%0A%7D%0A

Add event