public boolean deleteValue ( AssociationValue associationValue ) { if ( idByValue . containsKey ( associationValue ) ) { for ( ListGridRecord record : getRecords ( ) ) { if ( record . getAttributeAsObject ( VALUE_HOLDER_RECORD_ATTRIBUTE ) == associationValue ) { removeData ( record ) ; idByValue . remove ( associationValue ) ; return true ; } } } return false ; }
Removes a value to the list .