com.cc.framework
Class ComponentVersion

java.lang.Object
  extended bycom.cc.framework.ComponentVersion
All Implemented Interfaces:
VersionInfo

public final class ComponentVersion
extends java.lang.Object
implements VersionInfo

Program version

Author:
cc-resourcefactory

Field Summary
private static ComponentVersion instance
          reference to singleton instance
private  SystemType systype
          System Type
 
Constructor Summary
private ComponentVersion()
          constructor
 
Method Summary
 java.util.Date getProductBuildDate()
          Returns the build date
 java.lang.String getProductBuildNumber()
          Returns the product build number
 int getProductMajorVersion()
          Returns the product major version
 int getProductMinorVersion()
          Returns the product minor version
 java.lang.String getProductName()
          Returns the product name
 java.lang.String getProductNameExtension()
          Returns the product name extension
 java.lang.String getProductVendor()
          Returns the product vendor
 java.lang.String getProductVendorSite()
          Returns the URL of the home page of the product vendor
 java.lang.String getProductVersion()
          Returns the product version
 SystemType getSystemType()
          Returns the system type
static ComponentVersion instance()
          returns the singleton instance
 void setSystemType(SystemType systype)
          Sets the system type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static ComponentVersion instance
reference to singleton instance


systype

private SystemType systype
System Type

Constructor Detail

ComponentVersion

private ComponentVersion()
constructor

Method Detail

instance

public static ComponentVersion instance()
returns the singleton instance

Returns:
singleton instance

getProductBuildDate

public java.util.Date getProductBuildDate()
Description copied from interface: VersionInfo
Returns the build date

Specified by:
getProductBuildDate in interface VersionInfo
Returns:
Date
See Also:
VersionInfo.getProductBuildDate()

getProductBuildNumber

public java.lang.String getProductBuildNumber()
Description copied from interface: VersionInfo
Returns the product build number

Specified by:
getProductBuildNumber in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductBuildNumber()

getProductMajorVersion

public int getProductMajorVersion()
Description copied from interface: VersionInfo
Returns the product major version

Specified by:
getProductMajorVersion in interface VersionInfo
Returns:
integer
See Also:
VersionInfo.getProductMajorVersion()

getProductMinorVersion

public int getProductMinorVersion()
Description copied from interface: VersionInfo
Returns the product minor version

Specified by:
getProductMinorVersion in interface VersionInfo
Returns:
integer
See Also:
VersionInfo.getProductMinorVersion()

getProductName

public java.lang.String getProductName()
Description copied from interface: VersionInfo
Returns the product name

Specified by:
getProductName in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductName()

getProductNameExtension

public java.lang.String getProductNameExtension()
Description copied from interface: VersionInfo
Returns the product name extension

Specified by:
getProductNameExtension in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductNameExtension()

getProductVersion

public java.lang.String getProductVersion()
Description copied from interface: VersionInfo
Returns the product version

Specified by:
getProductVersion in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductVersion()

getProductVendor

public java.lang.String getProductVendor()
Description copied from interface: VersionInfo
Returns the product vendor

Specified by:
getProductVendor in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductVendor()

getProductVendorSite

public java.lang.String getProductVendorSite()
Description copied from interface: VersionInfo
Returns the URL of the home page of the product vendor

Specified by:
getProductVendorSite in interface VersionInfo
Returns:
String
See Also:
VersionInfo.getProductVendorSite()

getSystemType

public SystemType getSystemType()
Description copied from interface: VersionInfo
Returns the system type

Specified by:
getSystemType in interface VersionInfo
Returns:
SystemType
See Also:
VersionInfo.getSystemType()

setSystemType

public void setSystemType(SystemType systype)
Sets the system type

Parameters:
systype - The system type to set


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.