Clean up code.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / CTFClock.java
index fc727a155ef9600488eb63d3fb1c4b06fedc1c5b..0af919f6c215ead6462a9158d44588dd2345af56 100644 (file)
@@ -14,11 +14,24 @@ package org.eclipse.linuxtools.ctf.core.event;
 
 import java.util.HashMap;
 
+/**
+ */
 public class CTFClock {
 
+    /**
+     * Field properties.
+     */
     final private HashMap<String, Object> properties = new HashMap<String, Object>();
+    /**
+     * Field name.
+     */
     private String name;
 
+    /**
+     * Method addAttribute.
+     * @param key String
+     * @param value Object
+     */
     public void addAttribute(String key, Object value) {
         this.properties.put(key, value);
         if (key.equals("name")) { //$NON-NLS-1$
@@ -26,10 +39,19 @@ public class CTFClock {
         }
     }
 
+    /**
+     * Method getName.
+     * @return String
+     */
     public String getName() {
         return name;
     }
 
+    /**
+     * Method getProperty.
+     * @param key String
+     * @return Object
+     */
     public Object getProperty(String key) {
         return properties.get(key);
     }
This page took 0.024144 seconds and 5 git commands to generate.