|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netegrity.llsdk6.imsapi.utility.VersionInfo
public class VersionInfo
The current Identity Manager version number.
Constructor Summary | |
---|---|
VersionInfo(int major,
int minor,
int sp,
int build)
Deprecated. As of R12.1, replaced by VersionInfo(int major, int minor, int sp, int cr, int build)) |
|
VersionInfo(int major,
int minor,
int sp,
int cr,
int build)
Creates a version object containing integers for the major version number, minor version number, service pack number, cr number and build number. |
|
VersionInfo(java.lang.String versionString)
Creates a version object from a string representation of the complete version number. |
Method Summary | |
---|---|
int |
getBuild()
Retrieves the build portion of the version number. |
int |
getCRVersion()
Retrieves the CR portion of the version number. |
int |
getMajorVersion()
Retrieves the major portion of the version number. |
int |
getMinorVersion()
Retrieves the minor portion of the version number. |
int |
getServicePack()
Retrieves the service pack portion of the version number. |
void |
setBuild(int build)
Sets the build portion of the version number. |
void |
setCRVersion(int cr)
Sets the CR portion of the version number. |
void |
setMajorVersion(int major)
Sets the major portion of the version number. |
void |
setMinorVersion(int minor)
Sets the minor portion of the version number. |
void |
setServicePack(int sp)
Sets the service pack portion of the version number. |
java.lang.String |
toString()
Converts the version number to a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public VersionInfo(int major, int minor, int sp, int build)
Creates a version object containing integers for the major version number, minor version number, service pack number, and build number.
major
- The major portion of the version number.minor
- The minor portion of the version number.sp
- The service pack number.build
- This version's build number.public VersionInfo(int major, int minor, int sp, int cr, int build)
Creates a version object containing integers for the major version number, minor version number, service pack number, cr number and build number.
major
- The major portion of the version number.minor
- The minor portion of the version number.sp
- The service pack number.cr
- The CR portion of the version number.build
- This version's build number.public VersionInfo(java.lang.String versionString)
Creates a version object from a string representation of the complete version number.
The string should be in the following format, with the different portions of the version delimited by periods (.):major.minor.sp.cr.buildFor example:
8.0.2.101
versionString
- The string representation of the complete version number.Method Detail |
---|
public int getMajorVersion()
Retrieves the major portion of the version number.
public void setMajorVersion(int major)
Sets the major portion of the version number.
major
- The major portion of the version number.public int getMinorVersion()
Retrieves the minor portion of the version number.
public void setMinorVersion(int minor)
Sets the minor portion of the version number.
minor
- The minor portion of the version number.public int getServicePack()
Retrieves the service pack portion of the version number.
public void setServicePack(int sp)
Sets the service pack portion of the version number.
sp
- The service pack portion of the version number.public int getCRVersion()
Retrieves the CR portion of the version number.
public void setCRVersion(int cr)
Sets the CR portion of the version number.
sp
- The CR portion of the version number.public int getBuild()
Retrieves the build portion of the version number.
public void setBuild(int build)
Sets the build portion of the version number.
build
- The build portion of the version number.public java.lang.String toString()
Converts the version number to a string.
The string has the following format, with the different portions of the version delimited by periods (.):major.minor.sp.cr.buildFor example:
8.0.2.101
toString
in class java.lang.Object
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |