31 import java.util.Objects; |
31 import java.util.Objects; |
32 |
32 |
33 public final class Version implements Comparable<Version> { |
33 public final class Version implements Comparable<Version> { |
34 |
34 |
35 private final int id; |
35 private final int id; |
36 private Project project; |
|
37 private String name; |
36 private String name; |
38 /** |
37 /** |
39 * If we do not want versions to be ordered lexicographically we may specify an order. |
38 * If we do not want versions to be ordered lexicographically we may specify an order. |
40 */ |
39 */ |
41 private int ordinal = 0; |
40 private int ordinal = 0; |