public class Version extends Object implements Comparable
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object object) |
int |
getMajor() |
int |
getMinor() |
int |
getPatch() |
String |
getQualifier() |
String |
getVersion() |
static Version |
parse(String strSource) |
void |
setMajor(int nMajor) |
void |
setMinor(int nMinor) |
void |
setPatch(int nPatch) |
void |
setQualifier(String strQualifier) |
public int getMajor()
public void setMajor(int nMajor)
nMajor
- the nMajor to setpublic int getMinor()
public void setMinor(int nMinor)
nMinor
- the nMinor to setpublic int getPatch()
public void setPatch(int nPatch)
nPatch
- the nPatch to setpublic String getQualifier()
public void setQualifier(String strQualifier)
strQualifier
- the Qualifier to setpublic int compareTo(Object object)
compareTo
in interface Comparable
public String getVersion()
public static Version parse(String strSource) throws VersionParsingException
VersionParsingException
Copyright © 2018 City of Paris. All rights reserved.