private boolean matchesExtensionId(ExtensionId extensionId)
    {
        return this.extensionId == null || this.extensionId.equals(extensionId)
            || (this.extensionId.getVersion() == null && this.extensionId.getId().equals(extensionId.getId()));
    }
private boolean matchesExtensionId ( ExtensionId extensionId ) { return this . extensionId == null || this . extensionId . equals ( extensionId ) || ( this . extensionId . getVersion ( ) == null && this . extensionId . getId ( ) . equals ( extensionId . getId ( ) ) ) ; }
@param extensionId the event related extension identifier
@return <code>true</code> if the passed event matches this event, <code>false</code> otherwise.