/******************************************************************************* * Copyright (c) 2004, 2010 BREDEX GmbH. * 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: * BREDEX GmbH - initial API and implementation and/or initial documentation *******************************************************************************/ package org.eclipse.jubula.client.core.model; import java.util.Collection; import java.util.Map; import org.eclipse.jubula.tools.internal.exception.InvalidDataException; /** * @author BREDEX GmbH * @created 19.12.2005 */ public interface ITestCasePO extends IParamNodePO { /** * @return Returns the eventExecTestCaseMap. */ public abstract Map<String, IEventExecTestCasePO> getEventExecTcMap(); /** * @param eventTC eventExecTestCase to add * @throws InvalidDataException if an eventTestCase is already * existent for the associated event */ public abstract void addEventTestCase(IEventExecTestCasePO eventTC) throws InvalidDataException; /** * get the eventExecTC for a given eventType * @param eventType eventType for wanted eventExecTC * @return the eventExecTC for given eventType or null */ public abstract IEventExecTestCasePO getEventExecTC(String eventType); /** * @return all EventExecTestCases of this SpecTestCasePO. */ public abstract Collection<IEventExecTestCasePO> getAllEventEventExecTC(); }