1 /******************************************************************************* 2 * Copyright (c) 2004, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.osgi.service.resolver; 12 13 import org.osgi.framework.Version; 14 15 /** 16 * This class represents a base description object for a state. All description 17 * objects in a state have a name and a version. 18 * <p> 19 * Clients may implement this interface. 20 * </p> 21 * @since 3.1 22 */ 23 public interface BaseDescription { 24 /** 25 * Returns the name. 26 * @return the name 27 */ 28 public String getName(); 29 30 /** 31 * Returns the version. 32 * @return the version 33 */ 34 public Version getVersion(); 35 36 /** 37 * Returns the bundle which supplies this base description 38 * @return the bundle which supplies this base description 39 * @since 3.2 40 */ 41 public BundleDescription getSupplier(); 42 } 43