blob: 1433d9d8c1021ccaa197673c033bfd75f88de4c3 [file] [log] [blame]
Richard S. Hall930fecc2005-08-16 18:33:34 +00001/*
2 * Copyright 2005 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17package org.apache.osgi.service.bundlerepository;
18
19public interface IVersion extends Comparable
20{
21 public boolean equals(Object object);
22
23 public int getMajorComponent();
24
25 public int getMinorComponent();
26
27 public int getMicroComponent();
28
29 public String getQualifierComponent();
30
31 public boolean isInclusive();
32
33 public int compareTo(Object o);
34
35 public String toString();
36}