Пример #1
0
 public void setPhotoRelationship(er.attachment.model.ERAttachment value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating photo from " + photo() + " to " + value);
   }
   if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater
       .updateInverseRelationships()) {
     setPhoto(value);
   } else if (value == null) {
     er.attachment.model.ERAttachment oldValue = photo();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "photo");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "photo");
   }
 }
Пример #2
0
 public void setCompanyRelationship(er.uber.model.Company value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating company from " + company() + " to " + value);
   }
   if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater
       .updateInverseRelationships()) {
     setCompany(value);
   } else if (value == null) {
     er.uber.model.Company oldValue = company();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "company");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "company");
   }
 }
Пример #3
0
 public void setHireDate(NSTimestamp value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating hireDate from " + hireDate() + " to " + value);
   }
   takeStoredValueForKey(value, "hireDate");
 }
Пример #4
0
 public void setFirstName(String value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating firstName from " + firstName() + " to " + value);
   }
   takeStoredValueForKey(value, "firstName");
 }
Пример #5
0
 public void setExemptions(Integer value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating exemptions from " + exemptions() + " to " + value);
   }
   takeStoredValueForKey(value, "exemptions");
 }
Пример #6
0
 public void setAdmin(Boolean value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating admin from " + admin() + " to " + value);
   }
   takeStoredValueForKey(value, "admin");
 }
Пример #7
0
 public void setStatus(er.uber.model.EmployeeStatus value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating status from " + status() + " to " + value);
   }
   takeStoredValueForKey(value, "status");
 }
Пример #8
0
 public void setSalary(java.math.BigDecimal value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating salary from " + salary() + " to " + value);
   }
   takeStoredValueForKey(value, "salary");
 }
Пример #9
0
 public void setInsured(Boolean value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating insured from " + insured() + " to " + value);
   }
   takeStoredValueForKey(value, "insured");
 }