com.cafesoft.core.version
Interface Version

All Known Implementing Classes:
CamsVersion, CSCoreVersion

public interface Version

An interface that allows separate software packages to define version specific information that can be retrieved programmatically.

Since:
1.0

Method Summary
 String getBuildDate()
          Return the build date of the component.
 String getDescription()
          Get the description of the component.
 int getMajorVersion()
          Get the major version of the component.
 int getMinorVersion()
          Get the minor version of the component.
 String getName()
          Get the name of the component.
 int getPatchNumber()
          Get the patch number of the component.
 String getType()
          Return the type of the component.
 String getVersion()
          Get the version string.
 

Method Detail

getName

public String getName()
Get the name of the component.

Returns:
the name of the component.
Since:
1.0

getDescription

public String getDescription()
Get the description of the component.

Returns:
the description of the component.
Since:
1.0

getMajorVersion

public int getMajorVersion()
Get the major version of the component.

Returns:
the major version of the component.
Since:
1.0

getMinorVersion

public int getMinorVersion()
Get the minor version of the component.

Returns:
the minor version of the component.
Since:
1.0

getPatchNumber

public int getPatchNumber()
Get the patch number of the component.

Returns:
the patch number of the component.
Since:
1.0

getType

public String getType()
Return the type of the component. For example: dev, alpha, beta.

Returns:
the type of the component.
Since:
1.0

getBuildDate

public String getBuildDate()
Return the build date of the component.

Returns:
the build date of the component.
Since:
1.0

getVersion

public String getVersion()
Get the version string. This string is built using the major, minor, and patch number. For example, major=2, minor=4, patch number=11 this method would return the following string: 2.4.11.

Returns:
the version string.
Since:
1.0


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.