| /******************************************************************************* |
| * Copyright (c) 2015 Obeo. |
| * 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: |
| * Obeo - initial API and implementation |
| *******************************************************************************/ |
| package anydsl; |
| |
| import java.io.Serializable; |
| |
| public class Country implements Serializable { |
| |
| private static final long serialVersionUID = 1L; |
| |
| private String name; |
| |
| private Continent continent; |
| |
| public Country() { |
| } |
| |
| public Country(String name, Continent continent) { |
| this.name = name; |
| this.continent = continent; |
| } |
| |
| public Continent getContinent() { |
| return continent; |
| } |
| |
| public void setContinent(Continent continent) { |
| this.continent = continent; |
| } |
| |
| public String getName() { |
| return name; |
| } |
| |
| public void setName(String name) { |
| this.name = name; |
| } |
| } |