blob: 88c29471d84176c13476448c59222edbb245eba7 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2003, 2004 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.core.runtime.IConfigurationElement;
/**
*
*/
public class ModuleKind {
protected String id;
protected String name;
public ModuleKind(IConfigurationElement ce) {
super();
this.id = ce.getAttribute("id");
this.name = ce.getAttribute("name");
}
public ModuleKind(String id, String name) {
super();
this.id = id;
this.name = name;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String toString() {
return "ModuleType[" + id + ", " + name + "]";
}
}