Commit | Line | Data |
---|---|---|
4208b510 AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2015, 2016 EfficiOS Inc., Alexandre Montplaisir | |
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 | ||
10 | package org.eclipse.tracecompass.internal.provisional.analysis.lami.core.types; | |
11 | ||
12 | import org.eclipse.jdt.annotation.Nullable; | |
13 | ||
14 | class LamiString extends LamiData { | |
15 | ||
16 | private final String fValue; | |
17 | ||
18 | public LamiString(String value) { | |
19 | fValue = value; | |
20 | } | |
21 | ||
22 | public String getValue() { | |
23 | return fValue; | |
24 | } | |
25 | ||
26 | @Override | |
27 | public @Nullable String toString() { | |
28 | return fValue; | |
29 | } | |
30 | } |