Remove all existing @since annotations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / ITmfEvent.java
index 9026ac25f686f98bcf107c954991bb6915f1f06e..7c5bee2c555b16216d6623a76c0ec5d2dfc9dee3 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012, 2013 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -23,15 +23,10 @@ import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
  * <li>a parent trace
  * <li>a rank (order within the trace)
  * <li>a timestamp
- * <li>a source (reporting component)
  * <li>a type
  * <li>a content (payload)
  * </ul>
- * For convenience, a free-form reference field is also provided. It could be
- * used as e.g. a location marker (filename:lineno) to indicate where the event
- * was generated.
  *
- * @version 1.0
  * @author Francois Chouinard
  *
  * @see ITmfTimestamp
@@ -41,35 +36,6 @@ import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
  */
 public interface ITmfEvent extends IAdaptable {
 
-    // ------------------------------------------------------------------------
-    // Constants
-    // ------------------------------------------------------------------------
-
-    /**
-     * Pre-defined event timestamp attribute (for searching &filtering purposes)
-     */
-    public static final @NonNull String EVENT_FIELD_TIMESTAMP = ":timestamp:"; //$NON-NLS-1$
-
-    /**
-     * Pre-defined event source attribute (for searching &filtering purposes)
-     */
-    public static final @NonNull String EVENT_FIELD_SOURCE = ":source:"; //$NON-NLS-1$
-
-    /**
-     * Pre-defined event type attribute (for searching &filtering purposes)
-     */
-    public static final @NonNull String EVENT_FIELD_TYPE = ":type:"; //$NON-NLS-1$
-
-    /**
-     * Pre-defined event content attribute (for searching &filtering purposes)
-     */
-    public static final @NonNull String EVENT_FIELD_CONTENT = ":content:"; //$NON-NLS-1$
-
-    /**
-     * Pre-defined event reference attribute (for searching &filtering purposes)
-     */
-    public static final @NonNull String EVENT_FIELD_REFERENCE = ":reference:"; //$NON-NLS-1$
-
     // ------------------------------------------------------------------------
     // Getters
     // ------------------------------------------------------------------------
@@ -86,9 +52,8 @@ public interface ITmfEvent extends IAdaptable {
 
     /**
      * @return the event timestamp
-     * @since 2.0
      */
-    ITmfTimestamp getTimestamp();
+    @NonNull ITmfTimestamp getTimestamp();
 
     /**
      * @return the event type
This page took 0.025998 seconds and 5 git commands to generate.