| /********************************************************************** |
| * Copyright (c) 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - Initial API and implementation |
| **********************************************************************/ |
| package org.eclipse.wst.server.core.internal; |
| |
| import org.eclipse.wst.server.core.IModuleType; |
| /** |
| * |
| */ |
| public class ModuleType implements IModuleType { |
| protected String type; |
| protected String version; |
| |
| public ModuleType(String type, String version) { |
| super(); |
| this.type = type; |
| this.version = version; |
| } |
| |
| public String getType() { |
| return type; |
| } |
| |
| public String getVersion() { |
| return version; |
| } |
| |
| public String toString() { |
| return "ModuleType[" + type + ", " + version + "]"; |
| } |
| } |