getLATESTVERSION()

Retrieves the latest version of a version object.

Syntax

static const CxVersion & getLATESTVERSION();
 

Parameters

None.

Return values

The latest version, including major, minor, and point versions separated by the current delimiter character (default period).

Notes

You can use the compareTo() method to determine whether a business object or business object definition has the latest version.

Examples

if(pObj->getVersion()->compareTo(CxVersion::getLATESTVERSION)==0)
 

See also

See also the descriptions of the getMajorVer(), getMinorVer(), and getPointVer() methods.

Copyright IBM Corp. 1997, 2004