1 /*******************************************************************************
2 * Copyright (c) 2009 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
.event
;
16 * <b><u>TmfEventSource</u></b>
20 public class TmfEventSource
implements Cloneable
{
22 // ========================================================================
24 // ========================================================================
26 protected Object fSourceId
;
28 // ========================================================================
30 // ========================================================================
35 public TmfEventSource() {
42 public TmfEventSource(Object sourceId
) {
49 public TmfEventSource(TmfEventSource other
) {
50 this((other
!= null) ? other
.fSourceId
: null);
53 // ========================================================================
55 // ========================================================================
60 public Object
getSourceId() {
64 // ========================================================================
66 // ========================================================================
69 public TmfEventSource
clone() {
70 return new TmfEventSource(this);
74 public String
toString() {
75 return "[TmfEventSource(" + ((fSourceId
!= null) ? fSourceId
.toString() : "null") + ")]";
This page took 0.032724 seconds and 5 git commands to generate.