/******************************************************************************* * Copyright (c) 2010-2012, Zoltan Ujhelyi, Tamas Szabo, Istvan Rath and Daniel Varro * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Zoltan Ujhelyi, Tamas Szabo - initial API and implementation *******************************************************************************/ package org.eclipse.incquery.tooling.ui.queryexplorer.content.detail; public class MatcherConfiguration { private String parameterName; private String clazz; private Object filter; public MatcherConfiguration(String parameterName, String clazz, Object filter) { super(); this.parameterName = parameterName; this.clazz = clazz; this.filter = filter; } public String getParameterName() { return parameterName; } public void setParameterName(String parameterName) { this.parameterName = parameterName; } public String getClazz() { return clazz; } public void setClazz(String clazz) { this.clazz = clazz; } public Object getFilter() { return filter; } public void setFilter(Object filter) { this.filter = filter; } // Used by ViewerComparator too @Override public String toString() { return parameterName; } }