Skip to main content
summaryrefslogtreecommitdiffstats
blob: 64e81aa3d4f333f7336c9c90217080cddc84c007 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*******************************************************************************
 * Copyright (c) 2005, 2007 committers of openArchitectureWare 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:
 *     committers of openArchitectureWare - initial API and implementation
 *******************************************************************************/

package org.eclipse.m2t.common.recipe.core;

import java.io.Serializable;

public class CheckParameter implements Serializable {

	private static final long serialVersionUID = -8611695933417502115L;

	private String key;

	private Serializable value;

	private Check owner;

	public CheckParameter(Check owner, String key, Serializable value) {
		this.owner = owner;
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Serializable getValue() {
		return value;
	}

	public void setValue(Serializable value) {
		this.value = value;
	}

	public Check getOwner() {
		return owner;
	}

	public String toString() {
		return getKey() + ": " + getValue().toString();
	}

}

Back to the top