org.pentaho.reporting.libraries.base.boot
public class DefaultModuleInfo extends Object implements ModuleInfo
| Constructor Summary | |
|---|---|
| DefaultModuleInfo()
DefaultConstructor. | |
| DefaultModuleInfo(String moduleClass, String majorVersion, String minorVersion, String patchLevel)
Creates a new module info an initalizes it with the given values.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object o)
Two moduleinfos are equal,if they have the same module class.
|
| String | getMajorVersion()
Returns the major version of the module. |
| String | getMinorVersion()
Returns the minor version of the module. |
| String | getModuleClass()
Returns the class name of the module described implementation.
|
| String | getPatchLevel()
Returns the patch level version of the module. |
| int | hashCode()
Computes an hashcode for this module information.
|
| void | setMajorVersion(String majorVersion)
Defines the major version of the module. |
| void | setMinorVersion(String minorVersion)
Defines the minor version of the module. |
| void | setModuleClass(String moduleClass)
Defines the module class name.
|
| void | setPatchLevel(String patchLevel)
Defines the patch level version of the module. |
| String | toString()
Returns a string representation of this module information.
|
Parameters: moduleClass the class name of the module implementation holding the module description. majorVersion the modules major version. minorVersion the modules minor version. patchLevel the modules patchlevel.
Throws: NullPointerException if the moduleClass is null.
Parameters: o the other object to compare.
Returns: true, if the module points to the same module, false otherwise.
Returns: the major version.
See Also: getMajorVersion
Returns: the minor version.
See Also: getMajorVersion
Returns: the module class name.
See Also: getModuleClass
Returns: the patch level version.
See Also: getMajorVersion
Returns: the hashcode.
See Also: Object#hashCode()
Parameters: majorVersion the major version.
See Also: getMajorVersion
Parameters: minorVersion the minor version.
See Also: getMajorVersion
Parameters: moduleClass the class name of the module implementation.
Parameters: patchLevel the patch level version.
See Also: getMajorVersion
Returns: a string describing this class.
See Also: Object#toString()