1 /******************************************************************************* 2 * Copyright (c) 2010, 2011 Sonatype, Inc. 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 * Sonatype, Inc. - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.aether.version; 12 13 /** 14 * A parsed artifact version. 15 */ 16 public interface Version 17 extends Comparable<Version> 18 { 19 20 /** 21 * Gets the original string representation of the version. 22 * 23 * @return The string representation of the version, never {@code null}. 24 */ 25 String toString(); 26 27 }