public void setMailMessageRelationship(er.corebl.model.ERCMailMessage value) { if (_ERCMailOpen.LOG.isDebugEnabled()) { _ERCMailOpen.LOG.debug("updating mailMessage from " + mailMessage() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater .updateInverseRelationships()) { setMailMessage(value); } else if (value == null) { er.corebl.model.ERCMailMessage oldValue = mailMessage(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, _ERCMailOpen.MAIL_MESSAGE_KEY); } } else { addObjectToBothSidesOfRelationshipWithKey(value, _ERCMailOpen.MAIL_MESSAGE_KEY); } }
public void setUserAgentRelationship(er.corebl.model.ERCUserAgent value) { if (_ERCMailOpen.LOG.isDebugEnabled()) { _ERCMailOpen.LOG.debug("updating userAgent from " + userAgent() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater .updateInverseRelationships()) { setUserAgent(value); } else if (value == null) { er.corebl.model.ERCUserAgent oldValue = userAgent(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, _ERCMailOpen.USER_AGENT_KEY); } } else { addObjectToBothSidesOfRelationshipWithKey(value, _ERCMailOpen.USER_AGENT_KEY); } }
public void setDateOpened(NSTimestamp value) { if (_ERCMailOpen.LOG.isDebugEnabled()) { _ERCMailOpen.LOG.debug("updating dateOpened from " + dateOpened() + " to " + value); } takeStoredValueForKey(value, _ERCMailOpen.DATE_OPENED_KEY); }