400aeee29dee445f31c6582bb4a65af6e2b70740
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / event / TmfEventTypeStub.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * 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: Francois Chouinard - Initial API and implementation
10 *******************************************************************************/
11
12 package org.eclipse.tracecompass.tmf.tests.stubs.event;
13
14 import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
15 import org.eclipse.tracecompass.tmf.core.event.TmfEventField;
16 import org.eclipse.tracecompass.tmf.core.event.TmfEventType;
17
18 /**
19 * <b><u>TmfEventTypeStub</u></b>
20 */
21 @SuppressWarnings("javadoc")
22 public class TmfEventTypeStub extends TmfEventType {
23
24 private static final ITmfEventField FIELD_1 = new TmfEventField("Field1", null, null);
25 private static final ITmfEventField FIELD_2 = new TmfEventField("Field2", null, null);
26 private static final ITmfEventField FIELD_3 = new TmfEventField("Field3", null, null);
27 private static final ITmfEventField FIELD_4 = new TmfEventField("Field4", null, null);
28 private static final ITmfEventField FIELD_5 = new TmfEventField("Field5", null, null);
29
30 private static final ITmfEventField[] FIELDS = new ITmfEventField[] {
31 FIELD_1, FIELD_2, FIELD_3, FIELD_4, FIELD_5 };
32
33 private static ITmfEventField ROOT = new TmfEventField(ITmfEventField.ROOT_FIELD_ID, null, FIELDS);
34
35 public TmfEventTypeStub() {
36 super("TmfEventTypeStub", ROOT);
37 }
38 }
This page took 0.043069 seconds and 4 git commands to generate.