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 int
getMajor()
The major portion of the version number.int
getMinor()
The minor portion of the version number.int
getRevision()
The revision portion of the version number.int
getSubRevision()
The sub-revision portion of the version number.void
setMajor(int major)
The major portion of the version number.void
setMinor(int minor)
The minor portion of the version number.void
setRevision(int revision)
The revision portion of the version number.void
setSubRevision(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.
-
-