contract/lib/BeanFileMessage.js
/**
    * Checks the equality between the parameter and this instance object.
    * @param {BeanFileMessage} fileMessage Object to be verified about equality.
    */
Checks the equality between the parameter and this instance object.
@param {BeanFileMessage} fileMessage Object to be verified about equality.
Checks the equality between the parameter and this instance object . @param { BeanFileMessage } fileMessage Object to be verified about equality .
equals(fileMessage){
        if (fileMessage == null || fileMessage == undefined){
            return false;
        } else if (this.message != fileMessage.message){
            return false;
        } else if (this.hashSigned != fileMessage.hashSigned){
            return false;
        } else if (this.fileSize != fileMessage.fileSize){
            return false;
        } else if (this.fileExtName != fileMessage.fileExtName) {
            return false;
        } else if (this.fileType != fileMessage.fileType) {
            return false;
        } else if (this.fileName != fileMessage.fileName){
            return false;
        } else if (this.transportType != fileMessage.transportType){
                return false;
        } 
        logWrite(`[equals] BeanFileMessage equals TRUE`);
        return true;
    }
equals ( fileMessage ) { if ( fileMessage == null || fileMessage == undefined ) { return false ; } else if ( this . message != fileMessage . message ) { return false ; } else if ( this . hashSigned != fileMessage . hashSigned ) { return false ; } else if ( this . fileSize != fileMessage . fileSize ) { return false ; } else if ( this . fileExtName != fileMessage . fileExtName ) { return false ; } else if ( this . fileType != fileMessage . fileType ) { return false ; } else if ( this . fileName != fileMessage . fileName ) { return false ; } else if ( this . transportType != fileMessage . transportType ) { return false ; } logWrite ( ` ` ) ; return true ; }
Checks the equality between the parameter and this instance object.
Checks the equality between the parameter and this instance object .