tmf: Axe the TmfEventTypeManager
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / ITmfEventType.java
CommitLineData
5179fc01 1/*******************************************************************************
11252342 2 * Copyright (c) 2012, 2013 Ericsson
568007fa 3 *
5179fc01
FC
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
568007fa 8 *
5179fc01
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.core.event;
5179fc01 14
b742c196
AM
15import java.util.Collection;
16
5179fc01 17/**
f7703ed6 18 * The generic event type in TMF. It contains a reference to the full field structure
4c564a2d
FC
19 * for that event type.
20 * <p>
21 * Types are unique within their context space.
568007fa 22 *
b9e37ffd
FC
23 * @version 1.0
24 * @author Francois Chouinard
568007fa 25 *
b9e37ffd 26 * @see ITmfEvent
f7703ed6 27 * @see ITmfEventField
5179fc01 28 */
0316808c 29public interface ITmfEventType {
5179fc01 30
a4115405
FC
31 // ------------------------------------------------------------------------
32 // Constants
33 // ------------------------------------------------------------------------
34
4c564a2d 35 /**
085d898f 36 * The default event type name
4c564a2d
FC
37 */
38 public static final String DEFAULT_TYPE_ID = "TmfType"; //$NON-NLS-1$
085d898f 39
a4115405
FC
40 // ------------------------------------------------------------------------
41 // Getters
42 // ------------------------------------------------------------------------
43
5179fc01 44 /**
cbbcc354 45 * @return the event type ID
5179fc01 46 */
57a2a5ca 47 String getName();
5179fc01 48
5d3e8747 49 /**
4c564a2d 50 * @return the event type root field
5d3e8747 51 */
57a2a5ca 52 ITmfEventField getRootField();
5d3e8747 53
5179fc01 54 /**
4c564a2d 55 * @return the event field names (labels)
b742c196 56 * @since 3.0
5179fc01 57 */
b742c196 58 Collection<String> getFieldNames();
5179fc01 59}
This page took 0.059424 seconds and 5 git commands to generate.