/** * Returns the modules subsystem. If this module is not part of an subsystem then return the modules name, but never * null. * * @return the name of the subsystem. */ public String getSubSystem() { if ( this.subsystem == null ) { return getName(); } return this.subsystem; }
/** * Returns the modules subsystem. If this module is not part of an subsystem * then return the modules name, but never null. * * @return the name of the subsystem. */ public String getSubSystem() { if (this.subsystem == null) { return getName(); } return this.subsystem; }
/** * Returns a string representation of this module. * * @return the string representation of this module for debugging purposes. * @see Object#toString() */ public String toString() { final String lineSeparator = StringUtils.getLineSeparator(); final StringBuilder buffer = new StringBuilder( 120 ); buffer.append( "Module : " ); buffer.append( getName() ); buffer.append( lineSeparator ); buffer.append( "ModuleClass : " ); buffer.append( getModuleClass() ); buffer.append( lineSeparator ); buffer.append( "Version: " ); buffer.append( getMajorVersion() ); buffer.append( '.' ); buffer.append( getMinorVersion() ); buffer.append( '.' ); buffer.append( getPatchLevel() ); buffer.append( lineSeparator ); buffer.append( "Producer: " ); buffer.append( getProducer() ); buffer.append( lineSeparator ); buffer.append( "Description: " ); buffer.append( getDescription() ); buffer.append( lineSeparator ); return buffer.toString(); }
final StringBuilder buffer = new StringBuilder(120); buffer.append("Module : "); buffer.append(getName()); buffer.append(lineSeparator); buffer.append("ModuleClass : ");