Patch for Bug287563 (signal handling)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / event / TmfEventField.java
CommitLineData
8c8bf09f
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 Ericsson
3 *
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
8 *
9 * Contributors:
1f506a43 10 * Francois Chouinard - Initial API and implementation
8c8bf09f
ASL
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.event;
14
15/**
16 * <b><u>TmfEventField</u></b>
17 * <p>
18 * A basic event field.
8c8bf09f
ASL
19 */
20public class TmfEventField {
21
4ab33d2b 22 // ========================================================================
8c8bf09f 23 // Attributes
4ab33d2b 24 // ========================================================================
8c8bf09f 25
4ab33d2b 26 private final Object fValue;
8c8bf09f 27
4ab33d2b 28 // ========================================================================
8c8bf09f 29 // Constructors
4ab33d2b 30 // ========================================================================
8c8bf09f
ASL
31
32 /**
8c8bf09f
ASL
33 * @param value
34 */
4ab33d2b
AO
35 public TmfEventField(Object value) {
36 fValue = value;
8c8bf09f
ASL
37 }
38
4ab33d2b 39 // ========================================================================
8c8bf09f 40 // Accessors
4ab33d2b 41 // ========================================================================
8c8bf09f
ASL
42
43 /**
44 * @return
45 */
46 public Object getValue() {
47 return fValue;
48 }
49
4ab33d2b
AO
50 // ========================================================================
51 // Operators
52 // ========================================================================
8c8bf09f 53
4ab33d2b
AO
54 /* (non-Javadoc)
55 * @see java.lang.Object#toString()
56 */
57 public String toString() {
58 return fValue.toString();
8c8bf09f 59 }
1f506a43 60
4ab33d2b 61}
This page took 0.028691 seconds and 5 git commands to generate.