Debian Codegraph @

bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IVersionedId.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Cloudsmith Inc. and others.
3 *
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *
11 * Contributors:
12 * Cloudsmith Inc. - initial API and implementation
13 * IBM - Ongoing development
14 *******************************************************************************/
15 package org.eclipse.equinox.p2.metadata;
16
17
18 /**
19 * An interface representing a (id,version) pair.
20 * @since 2.0
21 */
22 public interface IVersionedId {
23 /**
24 * Returns the id portion of this versioned id.
25 *
26 * @return The id portion of this versioned id.
27 */
28 String getId();
29
30 /**
31 * Returns the version portion of this versioned id.
32 *
33 * @return the version portion of this versioned id.
34 */
35 Version getVersion();
36 }