[Tmf][Ctf] Add descriptive fail to import messages.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / TmfLongLocation.java
CommitLineData
cb8c854e
FC
1/*******************************************************************************
2 * Copyright (c) 2012 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:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.core.trace;
14
cb8c854e 15/**
83f4e378
FC
16 * A concrete implementation of TmfLocation based on Long:s
17 *
18 * @author Francois Chouinard
cb8c854e
FC
19 * @since 2.0
20 */
d62bb185 21public final class TmfLongLocation extends TmfLocation {
cb8c854e 22
1e1bef82 23 /**
83f4e378
FC
24 * The normal constructor
25 *
26 * @param locationInfo the concrete location
1e1bef82 27 */
83f4e378
FC
28 public TmfLongLocation(final Long locationInfo) {
29 super(locationInfo);
cb8c854e
FC
30 }
31
1e1bef82 32 /**
83f4e378
FC
33 * The copy constructor
34 *
1e1bef82
FC
35 * @param other the other location
36 */
83f4e378 37 public TmfLongLocation(final TmfLongLocation other) {
5976d44a 38 super(other.getLocationInfo());
cb8c854e
FC
39 }
40
577ee847
FC
41 /* (non-Javadoc)
42 * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
43 */
44 @Override
45 public Long getLocationInfo() {
46 return (Long) super.getLocationInfo();
47 }
48
cb8c854e 49}
This page took 0.029034 seconds and 5 git commands to generate.