protected BaseBo removeAttribute(String attrName, boolean triggerChange) {
        Lock lock = lockForWrite();
        try {
            attributes.remove(attrName);
            if (triggerChange) {
                triggerChange(attrName);
            }
            markDirty();
            return this;
        } finally {
            lock.unlock();
        }
    }
protected BaseBo removeAttribute ( String attrName , boolean triggerChange ) { Lock lock = lockForWrite ( ) ; try { attributes . remove ( attrName ) ; if ( triggerChange ) { triggerChange ( attrName ) ; } markDirty ( ) ; return this ; } finally { lock . unlock ( ) ; } }
Remove a BO's attribute.

@param attrName
@param triggerChange
if set to {@code true} {@link #triggerChange(String)} will be
called
@return
@since 0.7.1