public class IMVersion
extends java.lang.Object
Constructor and Description |
---|
IMVersion(org.w3c.dom.Node versionNode)
IBM WEBSPHERE INTERNAL USE ONLY.
|
IMVersion(java.lang.String imVersion)
IBM WEBSPHERE INTERNAL USE ONLY.
|
Modifier and Type | Method and Description |
---|---|
int |
compareIMVersion(IMVersion versionToBeCompared)
Compare the version of this IMVersion object with the input one.
|
int |
compareWASVersion(java.lang.String wasVersionToBeCompared)
Compare the version in IBM WebSphere format of this IMVersion object with the input one.
|
java.util.Date |
getDate()
Returns the date information of the current IMVersion object.
|
java.lang.String |
getDateInString()
Returns the date information of the current IMVersion object in String.
|
java.lang.String |
getIMVersion()
Returns the version in IBM Install Manager format.
|
java.lang.String |
getWASVersion()
Returns the version in IBM WebSphere format.
|
int |
hashCode()
Returns hashcode of this object.
|
java.lang.String |
toString()
Returns the string represenation of version in IBM install Manager format.
|
public IMVersion(java.lang.String imVersion)
public IMVersion(org.w3c.dom.Node versionNode)
public int compareIMVersion(IMVersion versionToBeCompared)
versionToBeCompared
- The IMVersion object to be compared with.
public int compareWASVersion(java.lang.String wasVersionToBeCompared)
wasVersionToBeCompared
- The version in IBM WebSphere format to be compared with.
public java.util.Date getDate()
public java.lang.String getDateInString()
public java.lang.String getIMVersion()
public java.lang.String getWASVersion()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object