public synchronized void removeAttribute ( final AttributeImpl attribute ) throws DevFailed { if ( attribute . getName ( ) . equalsIgnoreCase ( STATUS_NAME ) || attribute . getName ( ) . equalsIgnoreCase ( STATE_NAME ) ) { return ; } pollingManager . removeAttributePolling ( attribute . getName ( ) ) ; statusImpl . removeAttributeAlarm ( attribute . getName ( ) ) ; stateImpl . removeAttributeAlarm ( attribute . getName ( ) ) ; attributeList . remove ( attribute ) ; }
remove an attribute of the device . Not possible to remove State or Status