1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.event
;
16 * <b><u>ITmfEventType</u></b>
19 public interface ITmfEventType
extends Cloneable
{
22 * @return the event type context
24 public String
getContext();
27 * @return the event type ID
29 public String
getId();
32 * @return the number of fields
34 public int getNbFields();
37 * @return the event field labels
39 public String
[] getFieldLabels();
42 * @param index the event field index
43 * @return the corresponding event field label
45 public String
getFieldLabel(int index
) throws TmfNoSuchFieldException
;
48 * @param fieldId the event field ID
49 * @return the corresponding event field index
51 public int getFieldIndex(String fieldId
) throws TmfNoSuchFieldException
;
54 * @return a clone of the event content
56 public ITmfEventType
clone();
This page took 0.032694 seconds and 6 git commands to generate.