com.cafesoft.core
Class CSCoreVersion

java.lang.Object
  |
  +--com.cafesoft.core.CSCoreVersion
All Implemented Interfaces:
Version

public final class CSCoreVersion
extends Object
implements Version

Version information for the CSCore component.

Since:
1.0
See Also:
Version

Method Summary
 String getBuildDate()
          Return the build date of the component.
 String getDescription()
          Get the description of the component.
static Version getInstance()
          Get the single instance of the CSCoreVersion object.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final Version getInstance()
Get the single instance of the CSCoreVersion object.

Returns:
the single instance of the CSCoreVersion object.
Since:
1.0

getName

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

Specified by:
getName in interface Version
Returns:
the name of the component.
Since:
1.0

getDescription

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

Specified by:
getDescription in interface Version
Returns:
the description of the component.
Since:
1.0

getMajorVersion

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

Specified by:
getMajorVersion in interface Version
Returns:
the major version of the component.
Since:
1.0

getMinorVersion

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

Specified by:
getMinorVersion in interface Version
Returns:
the minor version of the component.
Since:
1.0

getPatchNumber

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

Specified by:
getPatchNumber in interface Version
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.

Specified by:
getType in interface Version
Returns:
the type of the component.
Since:
1.0

getBuildDate

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

Specified by:
getBuildDate in interface Version
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.

Specified by:
getVersion in interface Version
Returns:
the version string.
Since:
1.0


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.