/*******************************************************************************
* Copyright (c) 2011 Gerd Wuetherich (gerd@gerd-wuetherich.de).
* 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:
* Gerd Wuetherich (gerd@gerd-wuetherich.de) - initial API and implementation
******************************************************************************/
package org.bundlemaker.core.resource;
import org.bundlemaker.core.internal.resource.ModuleIdentifier;
/**
* <p>
* </p>
*
* @author Gerd Wütherich (gerd@gerd-wuetherich.de)
*/
public interface IModuleIdentifier {
/**
* <p>
* </p>
*
* @return
*/
String getName();
/**
* <p>
* </p>
*
* @return
*/
String getVersion();
/**
* <p>
* </p>
*
* @author Gerd Wütherich (gerd@gerd-wuetherich.de)
*/
public static class Factory {
/**
* <p>
* </p>
*
* @param name
* @param version
* @return
*/
public static IModuleIdentifier createNewModuleIdentifier(String name, String version) {
return new ModuleIdentifier(name, version);
}
}
}