public boolean removeAttribute ( String attribute , boolean removeFromACModel , boolean notifyListeners ) { if ( ! super . removeObject ( attribute , false ) ) { return false ; } if ( acModel != null && removeFromACModel && acModel . getContext ( ) != this ) { acModel . getContext ( ) . removeObject ( attribute ) ; } // Remove data usage of removed attributes for ( String activity : activities ) { removeDataUsageFor ( activity , attribute ) ; } if ( notifyListeners ) { contextListenerSupport . notifyObjectRemoved ( attribute ) ; } return true ; }
Removes the given attribute from the context .