org.jfree.report.modules
Interface ModuleInfo

All Known Subinterfaces:
Module
All Known Implementing Classes:
AbstractModule, DefaultModuleInfo, XMLModule

public interface ModuleInfo

The module info describes an required module and the module version. This description is used by the package manager to locate base modules.

Author:
Thomas Morgner

Method Summary
 java.lang.String getMajorVersion()
          Returns the major version of the base module.
 java.lang.String getMinorVersion()
          Returns the minor version of the base module.
 java.lang.String getModuleClass()
          Returns the module class of the desired base module.
 java.lang.String getPatchLevel()
          Returns the patchlevel version of the base module.
 

Method Detail

getModuleClass

public java.lang.String getModuleClass()
Returns the module class of the desired base module.

Returns:
the module class.

getMajorVersion

public java.lang.String getMajorVersion()
Returns the major version of the base module. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.

Returns:
the major version of the module.

getMinorVersion

public java.lang.String getMinorVersion()
Returns the minor version of the base module. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.

Returns:
the minor version of the module.

getPatchLevel

public java.lang.String getPatchLevel()
Returns the patchlevel version of the base module. The patch level should be used to mark bugfixes. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.

Returns:
the major version of the module.