Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f79fae4f984626dbab86e0daef72d176be660e40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
 * Copyright (c) 2009 R.Dvorak and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Radek Dvorak - initial API and implementation
 *******************************************************************************/
package org.eclipse.m2m.qvt.oml.debug.core.vm.protocol;

import org.eclipse.emf.common.util.URI;

public class VMDetailRequest extends VMRequest {

	private static final long serialVersionUID = -5178607839378495025L;

	private final String fVariableURI;
	
	public VMDetailRequest(URI variableURI) {
		if(variableURI == null) {
			throw new IllegalArgumentException();
		}
		
		fVariableURI = variableURI.toString();
	}

	public URI getVariableURI() {
		return URI.createURI(fVariableURI);
	}
	
	@Override
	public String toString() {
		return getClass().getSimpleName() + " variable=" + fVariableURI; //$NON-NLS-1$
	}

}

Back to the top