blob: 32f60a0c488a1249e1f80a84602be17d9b373845 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2006 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.osgi.service.resolver;
import org.osgi.framework.Version;
/**
* This class represents a base description object for a state. All description
* objects in a state have a name and a version.
* <p>
* Clients may implement this interface.
* </p>
* @since 3.1
*/
public interface BaseDescription {
/**
* Returns the name.
* @return the name
*/
public String getName();
/**
* Returns the version.
* @return the version
*/
public Version getVersion();
/**
* Returns the bundle which supplies this base description
* @return the bundle which supplies this base description
* @since 3.2
*/
public BundleDescription getSupplier();
}