lttng: More luna annotation updates
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfCheckpoint.java
index 2583c5cc5eb73316e4cce11af77c8a59e1715dc3..e2e4e1be2fe0dc07f053129b4186b3f4e03e61ed 100644 (file)
@@ -1,26 +1,31 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
+ *
  * Contributors:
  *   Francois Chouinard - Initial API and implementation
+ *   Patrick Tasse - Updated for location in checkpoint
  *******************************************************************************/
 
 package org.eclipse.linuxtools.tmf.core.trace;
 
-import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
 
 /**
- * <b><u>ITmfCheckpoint</u></b>
- * <p>
  * The basic trace checkpoint structure in TMF. The purpose of the checkpoint is
  * to associate a trace location to an event timestamp.
+ *
+ * @version 1.0
+ * @author Francois Chouinard
+ *
+ * @see ITmfTimestamp
+ * @see ITmfLocation
  */
-public interface ITmfCheckpoint extends Cloneable, Comparable<ITmfCheckpoint> {
+public interface ITmfCheckpoint extends Comparable<ITmfCheckpoint> {
 
     // ------------------------------------------------------------------------
     // Getters
@@ -28,31 +33,20 @@ public interface ITmfCheckpoint extends Cloneable, Comparable<ITmfCheckpoint> {
 
     /**
      * @return the timestamp of the event referred to by the context
+     * @since 2.0
      */
-    public ITmfTimestamp getTimestamp();
+    ITmfTimestamp getTimestamp();
 
     /**
-     * @return the location of the event referred to by the context
+     * @return the location of the event referred to by the checkpoint
      */
-    public ITmfLocation<? extends Comparable<?>> getLocation();
-
-    // ------------------------------------------------------------------------
-    // Cloneable
-    // ------------------------------------------------------------------------
-
-    /**
-     * @return a clone of the checkpoint
-     */
-    public ITmfCheckpoint clone();
+    ITmfLocation getLocation();
 
     // ------------------------------------------------------------------------
     // Comparable
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Comparable#compareTo(java.lang.Object)
-     */
     @Override
-    public int compareTo(ITmfCheckpoint checkpoint);
+    int compareTo(ITmfCheckpoint checkpoint);
 
 }
This page took 0.026309 seconds and 5 git commands to generate.