01: /*******************************************************************************
02: * Copyright (c) 2005, 2006 committers of openArchitectureWare and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * committers of openArchitectureWare - initial API and implementation
10: *******************************************************************************/package model;
11:
12: /**
13: * Simple structure representing a mapping from String to String.
14: */
15: public class Mapping {
16: private String from;
17:
18: private String to;
19:
20: public Mapping() {
21: }
22:
23: public Mapping(final String from, final String to) {
24: this .from = from;
25: this .to = to;
26: }
27:
28: public String getFrom() {
29: return from;
30: }
31:
32: public void setFrom(final String from) {
33: this .from = from;
34: }
35:
36: public String getTo() {
37: return to;
38: }
39:
40: public void setTo(final String to) {
41: this.to = to;
42: }
43:
44: }
|