Esempio n. 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");
   }
 }
Esempio n. 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");
   }
 }
Esempio n. 3
0
 public void setHireDate(NSTimestamp value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating hireDate from " + hireDate() + " to " + value);
   }
   takeStoredValueForKey(value, "hireDate");
 }
Esempio n. 4
0
 public void setFirstName(String value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating firstName from " + firstName() + " to " + value);
   }
   takeStoredValueForKey(value, "firstName");
 }
Esempio n. 5
0
 public void setExemptions(Integer value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating exemptions from " + exemptions() + " to " + value);
   }
   takeStoredValueForKey(value, "exemptions");
 }
Esempio n. 6
0
 public void setAdmin(Boolean value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating admin from " + admin() + " to " + value);
   }
   takeStoredValueForKey(value, "admin");
 }
Esempio n. 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");
 }
Esempio n. 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");
 }
Esempio n. 9
0
 public void setInsured(Boolean value) {
   if (_Employee.LOG.isDebugEnabled()) {
     _Employee.LOG.debug("updating insured from " + insured() + " to " + value);
   }
   takeStoredValueForKey(value, "insured");
 }