All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.emf.mwe.utils.Mapping Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2005, 2009 committers of openArchitectureWare and others.
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     committers of openArchitectureWare - initial API and implementation
 *******************************************************************************/
package org.eclipse.emf.mwe.utils;

/**
 * Simple structure representing a mapping from String to String.
 */
public class Mapping {
    private String from;

    private String to;

    public Mapping() {
    }

    public Mapping(final String from, final String to) {
        this.from = from;
        this.to = to;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(final String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(final String to) {
        this.to = to;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy