1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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
;
15 import java
.util
.Collection
;
18 * The generic event type in TMF. It contains a reference to the full field structure
19 * for that event type.
21 * Types are unique within their context space.
24 * @author Francois Chouinard
29 public interface ITmfEventType
{
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
36 * The default event type content
38 public static final String DEFAULT_CONTEXT_ID
= "TmfContext"; //$NON-NLS-1$
41 * The default event type name
43 public static final String DEFAULT_TYPE_ID
= "TmfType"; //$NON-NLS-1$
45 // ------------------------------------------------------------------------
47 // ------------------------------------------------------------------------
50 * @return the event type context
55 * @return the event type ID
60 * @return the event type root field
62 ITmfEventField
getRootField();
65 * @return the event field names (labels)
68 Collection
<String
> getFieldNames();