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
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 * <b><u>ITmfDataItem</u></b>
20 * The basic event structure in the TMF. In its canonical form, a data item has:
23 * <li> a rank (order within the trace)
24 * <li> a source (reporting component)
28 * For convenience, a free-form reference field is also provided. It could be
29 * used as e.g. a location marker (filename:lineno) to indicate where the event
32 public interface ITmfDataItem
extends Cloneable
{
35 * @return the trace that 'owns' the event
37 public ITmfTrace
<?
> getTrace();
40 * @return the event rank within the parent trace
42 public long getRank();
45 * @return the event source
47 public String
getSource();
50 * @return the event type
52 public ITmfEventType
getType();
55 * @return the event content
57 public ITmfEventContent
getContent();
60 * @return the event reference
62 public String
getReference();
65 * @return a clone of the data item
67 public ITmfDataItem
clone();
This page took 0.035072 seconds and 5 git commands to generate.