/** * Implements the OnChange event handler for the item associated with the * attachment. * * @param serviceObject ,The service object that triggered the OnChange event. */ private void itemChanged(ServiceObject serviceObject) { this.item.getPropertyBag().changed(); }
/** * Handles a change event for the specified property. * * @param complexProperty The property that changes. */ protected void propertyChanged(ComplexProperty complexProperty) { Iterator<Entry<PropertyDefinition, Object>> it = this.properties .entrySet().iterator(); while (it.hasNext()) { Entry<PropertyDefinition, Object> keyValuePair = it.next(); if (keyValuePair.getValue().equals(complexProperty)) { if (!this.deletedProperties.containsKey(keyValuePair.getKey())) { addToChangeList(keyValuePair.getKey(), this.modifiedProperties); this.changed(); } } } }
/** * Implements the OnChange event handler for the item associated with the * attachment. * * @param serviceObject ,The service object that triggered the OnChange event. */ private void itemChanged(ServiceObject serviceObject) { this.item.getPropertyBag().changed(); }
/** * Handles a change event for the specified property. * * @param complexProperty The property that changes. */ protected void propertyChanged(ComplexProperty complexProperty) { Iterator<Entry<PropertyDefinition, Object>> it = this.properties .entrySet().iterator(); while (it.hasNext()) { Entry<PropertyDefinition, Object> keyValuePair = it.next(); if (keyValuePair.getValue().equals(complexProperty)) { if (!this.deletedProperties.containsKey(keyValuePair.getKey())) { addToChangeList(keyValuePair.getKey(), this.modifiedProperties); this.changed(); } } } }