| java.lang.Object org.jfree.base.modules.DefaultModuleInfo
All known Subclasses: org.jfree.base.modules.AbstractModule,
DefaultModuleInfo | public class DefaultModuleInfo implements ModuleInfo(Code) | | Provides a default implementation of the module info interface.
author: Thomas Morgner |
DefaultModuleInfo | public DefaultModuleInfo()(Code) | | DefaultConstructor.
|
DefaultModuleInfo | public DefaultModuleInfo(String moduleClass, String majorVersion, String minorVersion, String patchLevel)(Code) | | Creates a new module info an initalizes it with the given values.
Parameters: moduleClass - the class name of the module implementation holding the moduledescription. Parameters: majorVersion - the modules major version. Parameters: minorVersion - the modules minor version. Parameters: patchLevel - the modules patchlevel. throws: NullPointerException - if the moduleClass is null. |
equals | public boolean equals(Object o)(Code) | | Two moduleinfos are equal,if they have the same module class.
Parameters: o - the other object to compare. true, if the module points to the same module, false otherwise. |
getMajorVersion | public String getMajorVersion()(Code) | | Returns the major version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion the major version. |
getMinorVersion | public String getMinorVersion()(Code) | | Returns the minor version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion the minor version. |
getPatchLevel | public String getPatchLevel()(Code) | | Returns the patch level version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion the patch level version. |
setMajorVersion | public void setMajorVersion(String majorVersion)(Code) | | Defines the major version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion Parameters: majorVersion - the major version. |
setMinorVersion | public void setMinorVersion(String minorVersion)(Code) | | Defines the minor version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion Parameters: minorVersion - the minor version. |
setModuleClass | public void setModuleClass(String moduleClass)(Code) | | Defines the module class name.
Parameters: moduleClass - the class name of the module implementation. |
setPatchLevel | public void setPatchLevel(String patchLevel)(Code) | | Defines the patch level version of the module. This property may be
null to indicate that the module version is not specified.
See Also: ModuleInfo.getMajorVersion Parameters: patchLevel - the patch level version. |
|
|