Package com.zerog.ia.auto.project
Class Version
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.Version
-
- All Implemented Interfaces:
Referenceable
public final class Version extends ProjectObject
Defines the version of a product in the form of major.minor.revision.subrevision.
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMajor()The major portion of the version number.intgetMinor()The minor portion of the version number.intgetRevision()The revision portion of the version number.intgetSubRevision()The sub-revision portion of the version number.voidsetMajor(int major)The major portion of the version number.voidsetMinor(int minor)The minor portion of the version number.voidsetRevision(int revision)The revision portion of the version number.voidsetSubRevision(int subRevision)The sub-revision portion of the version number.-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getMajor
public int getMajor()
The major portion of the version number.
-
getMinor
public int getMinor()
The minor portion of the version number.
-
getRevision
public int getRevision()
The revision portion of the version number.
-
getSubRevision
public int getSubRevision()
The sub-revision portion of the version number.
-
setMajor
public void setMajor(int major)
The major portion of the version number.
-
setMinor
public void setMinor(int minor)
The minor portion of the version number.
-
setRevision
public void setRevision(int revision)
The revision portion of the version number.
-
setSubRevision
public void setSubRevision(int subRevision)
The sub-revision portion of the version number.
-
-