Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » modules » [javadoc | source]
org.jfree.report.modules
public class: DefaultModuleInfo [javadoc | source]
java.lang.Object
   org.jfree.report.modules.DefaultModuleInfo

All Implemented Interfaces:
    ModuleInfo

Direct Known Subclasses:
    PreviewBaseModule, ConverterGUIModule, HTMLTableModule, HTMLExportGUIModule, PDFExportGUIModule, PageLayoutModule, XLSTableModule, PDFPageableModule, DefaultLogModule, TranslationModule, AbstractModule

Provides a default implementation of the module info interface.
Constructor:
 public DefaultModuleInfo() 
 public DefaultModuleInfo(String moduleClass,
    String majorVersion,
    String minorVersion,
    String patchLevel) 
    Creates a new module info an initalizes it with the given values.
    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.
Method from org.jfree.report.modules.DefaultModuleInfo Summary:
equals,   getMajorVersion,   getMinorVersion,   getModuleClass,   getPatchLevel,   hashCode,   setMajorVersion,   setMinorVersion,   setModuleClass,   setPatchLevel,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.DefaultModuleInfo Detail:
 public boolean equals(Object o) 
    Two moduleinfos are equal,if they have the same module class.
 public String getMajorVersion() 
    Returns the major version of the module. This property may be null to indicate that the module version is not specified.
 public String getMinorVersion() 
    Returns the minor version of the module. This property may be null to indicate that the module version is not specified.
 public String getModuleClass() 
    Returns the class name of the module described implementation.
 public String getPatchLevel() 
    Returns the patch level version of the module. This property may be null to indicate that the module version is not specified.
 public int hashCode() 
    Computes an hashcode for this module information.
 public  void setMajorVersion(String majorVersion) 
    Defines the major version of the module. This property may be null to indicate that the module version is not specified.
 public  void setMinorVersion(String minorVersion) 
    Defines the minor version of the module. This property may be null to indicate that the module version is not specified.
 public  void setModuleClass(String moduleClass) 
    Defines the module class name.
 public  void setPatchLevel(String patchLevel) 
    Defines the patch level version of the module. This property may be null to indicate that the module version is not specified.
 public String toString() 
    Returns a string representation of this module information.