ede64079e6c31189b45fdff5bc9d1c30c1894d19
1 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timeAnalysis
.test
.stub
.model
;
3 import java
.util
.Vector
;
5 import org
.eclipse
.linuxtools
.tmf
.ui
.viewers
.timeAnalysis
.model
.ITmfTimeAnalysisEntry
;
6 import org
.eclipse
.linuxtools
.tmf
.ui
.viewers
.timeAnalysis
.model
.TimeEvent
;
9 public class TraceImpl
implements ITmfTimeAnalysisEntry
{
11 private String name
= "traceDefaultName";
12 private long startTime
= 0;
13 private long stopTime
= 1;
14 private String groupName
= "defaultGroupName";
15 private String className
= "defaultClassName";
17 public String
getClassName() {
21 public void setClassName(String className
) {
22 this.className
= className
;
25 private Vector
<TimeEvent
> traceEvents
= new Vector
<TimeEvent
>();
27 public TraceImpl(int id
, String name
, long sTime
, long stopTime
,
28 String groupName
, String className
) {
31 this.startTime
= sTime
;
32 this.stopTime
= stopTime
;
33 this.groupName
= groupName
;
34 this.className
= className
;
37 public void setGroupName(String groupName
) {
38 this.groupName
= groupName
;
41 public void setId(int id
) {
45 public void setName(String name
) {
49 public void setStartTime(long startTime
) {
50 this.startTime
= startTime
;
53 public void setStopTime(long stopTime
) {
54 this.stopTime
= stopTime
;
57 public String
getGroupName() {
65 public String
getName() {
69 public long getStartTime() {
73 public long getStopTime() {
77 @SuppressWarnings("unchecked")
78 public Vector
<TimeEvent
> getTraceEvents() {
This page took 0.033448 seconds and 4 git commands to generate.