at.spardat.xma.boot.comp.data.Version Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH .
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* s IT Solutions AT Spardat GmbH - initial API and implementation
*******************************************************************************/
/*
* Created on : 04.2003
* Created by : s3595
*/
package at.spardat.xma.boot.comp.data;
/**
*
* @author Chris Sch?fer (CGS)
* @version $Id: Version.java 2084 2007-11-27 14:53:31Z s3460 $
*/
public class Version {
/** contains all the versions matched */
private String strVersion;
/** create
*/
public Version(String versions) {
strVersion = versions;
}
public String toString() {
return getVersion();
}
public String getVersion() {
return strVersion;
}
public boolean equals( Version version) {
return strVersion.equals(version.getVersion() );
}
}