|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.VersionInfo
Holds information about a version number. Objects of this class are
available in both clients and server (via the
ServerProperties
session bean,
and can be compared with each other to determine up/down level
compatibility.
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface.
Constructor Summary | |
VersionInfo(int majorVersion,
int minorVersion,
java.lang.String build,
java.lang.String name)
Create a new VersionInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object obj)
Compare two VersionInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two VersionInfo objects for equality. |
java.lang.String |
getBuild()
Return the build number or name. |
static VersionInfo |
getDefaultVersion()
Return the information about the first release of WebLogic Process Integrator. |
int |
getMajorVersion()
Return the major version number. |
int |
getMinorVersion()
Return the minor version number. |
java.lang.String |
getName()
Return the release name. |
java.lang.String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public VersionInfo(int majorVersion, int minorVersion, java.lang.String build, java.lang.String name)
VersionInfo
object.majorVersion
- The major version number (e.g. the 1 in "1.2").minorVersion
- The minor version number (e.g. the 2 in "1.2").build
- The build number or name.name
- The release name (e.g. "Chicoutimi").Method Detail |
public static final VersionInfo getDefaultVersion()
public final int getMajorVersion()
public final int getMinorVersion()
public final java.lang.String getBuild()
public final java.lang.String getName()
public boolean equals(java.lang.Object obj)
VersionInfo
objects for equality. The comparison
is based solely on the major and minor version numbers.obj
- Object with which to compare this one.true
if obj
is an instance of
VersionInfo
with the same majorVersion
and
minorVersion
as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object obj)
VersionInfo
objects.obj
- Object with which to compare this one.majorVersion
and
minorVersion
members of the two objects.o
is not an instance of
VersionInfo
.equals(java.lang.Object)
public java.lang.String toString()
majorVersion
, minorVersion
and
build
members, separated by periods (e.g.
"1.2.0").
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |