/** * Trims the business object format specific fields in the business object data notification filter. * * @param filter the business object data notification filter */ private void trimBusinessObjectDataNotificationFilterBusinessObjectFormatFields(BusinessObjectDataNotificationFilter filter) { if (filter.getBusinessObjectFormatUsage() != null) { filter.setBusinessObjectFormatUsage(filter.getBusinessObjectFormatUsage().trim()); } if (filter.getBusinessObjectFormatFileType() != null) { filter.setBusinessObjectFormatFileType(filter.getBusinessObjectFormatFileType().trim()); } }
/** * Trims the business object format specific fields in the business object data notification filter. * * @param filter the business object data notification filter */ private void trimBusinessObjectDataNotificationFilterBusinessObjectFormatFields(BusinessObjectDataNotificationFilter filter) { if (filter.getBusinessObjectFormatUsage() != null) { filter.setBusinessObjectFormatUsage(filter.getBusinessObjectFormatUsage().trim()); } if (filter.getBusinessObjectFormatFileType() != null) { filter.setBusinessObjectFormatFileType(filter.getBusinessObjectFormatFileType().trim()); } }
filter.setBusinessObjectFormatUsage(businessObjectDataNotificationRegistrationEntity.getUsage()); filter.setBusinessObjectFormatFileType( businessObjectDataNotificationRegistrationEntity.getFileType() != null ? businessObjectDataNotificationRegistrationEntity.getFileType().getCode() :
filter.setBusinessObjectFormatUsage(businessObjectDataNotificationRegistrationEntity.getUsage()); filter.setBusinessObjectFormatFileType( businessObjectDataNotificationRegistrationEntity.getFileType() != null ? businessObjectDataNotificationRegistrationEntity.getFileType().getCode() :
sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage); } else { if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.FALSE) {
sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage); } else { if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.FALSE) {
sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage); } else { if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.FALSE) {