/** * 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()); } }
predicates.add(builder.equal(builder.upper(businessObjectDefinitionEntity.get(BusinessObjectDefinitionEntity_.name)), businessObjectDataNotificationFilter.getBusinessObjectDefinitionName().toUpperCase())); if (StringUtils.isNotBlank(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage())) businessObjectDataNotificationFilter.getBusinessObjectFormatUsage().toUpperCase())));
predicates.add(builder.equal(builder.upper(businessObjectDefinitionEntity.get(BusinessObjectDefinitionEntity_.name)), businessObjectDataNotificationFilter.getBusinessObjectDefinitionName().toUpperCase())); if (StringUtils.isNotBlank(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage())) businessObjectDataNotificationFilter.getBusinessObjectFormatUsage().toUpperCase())));
businessObjectDataNotificationRegistrationEntity.setNotificationEventType(notificationEventTypeEntity); businessObjectDataNotificationRegistrationEntity.setBusinessObjectDefinition(businessObjectDefinitionEntity); if (StringUtils.isNotBlank(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage())) businessObjectDataNotificationRegistrationEntity.setUsage(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage());
businessObjectDataNotificationRegistrationEntity.setNotificationEventType(notificationEventTypeEntity); businessObjectDataNotificationRegistrationEntity.setBusinessObjectDefinition(businessObjectDefinitionEntity); if (StringUtils.isNotBlank(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage())) businessObjectDataNotificationRegistrationEntity.setUsage(businessObjectDataNotificationFilter.getBusinessObjectFormatUsage());
lhsBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String rhsBusinessObjectFormatUsage; rhsBusinessObjectFormatUsage = that.getBusinessObjectFormatUsage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessObjectFormatUsage", lhsBusinessObjectFormatUsage), LocatorUtils.property(thatLocator, "businessObjectFormatUsage", rhsBusinessObjectFormatUsage), lhsBusinessObjectFormatUsage, rhsBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null), (that.businessObjectFormatUsage!= null))) { return false;
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); strategy.appendField(locator, this, "businessObjectFormatUsage", buffer, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); strategy.appendField(locator, this, "businessObjectFormatUsage", buffer, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); strategy.appendField(locator, this, "businessObjectFormatUsage", buffer, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
lhsBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String rhsBusinessObjectFormatUsage; rhsBusinessObjectFormatUsage = that.getBusinessObjectFormatUsage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessObjectFormatUsage", lhsBusinessObjectFormatUsage), LocatorUtils.property(thatLocator, "businessObjectFormatUsage", rhsBusinessObjectFormatUsage), lhsBusinessObjectFormatUsage, rhsBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null), (that.businessObjectFormatUsage!= null))) { return false;
lhsBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String rhsBusinessObjectFormatUsage; rhsBusinessObjectFormatUsage = that.getBusinessObjectFormatUsage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessObjectFormatUsage", lhsBusinessObjectFormatUsage), LocatorUtils.property(thatLocator, "businessObjectFormatUsage", rhsBusinessObjectFormatUsage), lhsBusinessObjectFormatUsage, rhsBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null), (that.businessObjectFormatUsage!= null))) { return false;
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessObjectFormatUsage", theBusinessObjectFormatUsage), currentHashCode, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessObjectFormatUsage", theBusinessObjectFormatUsage), currentHashCode, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
theBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessObjectFormatUsage", theBusinessObjectFormatUsage), currentHashCode, theBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null));
if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.TRUE) { String sourceBusinessObjectFormatUsage; sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage);
if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.TRUE) { String sourceBusinessObjectFormatUsage; sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage);
if (businessObjectFormatUsageShouldBeCopiedAndSet == Boolean.TRUE) { String sourceBusinessObjectFormatUsage; sourceBusinessObjectFormatUsage = this.getBusinessObjectFormatUsage(); String copyBusinessObjectFormatUsage = ((String) strategy.copy(LocatorUtils.property(locator, "businessObjectFormatUsage", sourceBusinessObjectFormatUsage), sourceBusinessObjectFormatUsage, (this.businessObjectFormatUsage!= null))); copy.setBusinessObjectFormatUsage(copyBusinessObjectFormatUsage);