public interface Versionable
Modifier and Type | Method and Description |
---|---|
int |
getMajorVersion()
Gets the major revision number for this version of the Versionable
object.
|
int |
getMinorVersion()
Gets the minor revision number for this version of the Versionable
object.
|
java.lang.String |
getUserVersion()
Gets the user-specified revision number for this version of the
Versionable object.
|
void |
setMajorVersion(int majorVersion)
Sets the major revision number for this version of the Versionable
object.
|
void |
setMinorVersion(int minorVersion)
Sets the minor revision number for this version of the Versionable
object.
|
void |
setUserVersion(java.lang.String userVersion)
Sets the user specified revision number for this version of the
Versionable object.
|
int getMajorVersion()
int getMinorVersion()
java.lang.String getUserVersion()
void setMajorVersion(int majorVersion)
majorVersion
- the major revision number.void setMinorVersion(int minorVersion)
minorVersion
- the minor revision number.void setUserVersion(java.lang.String userVersion)
userVersion
- the user specified revision number.