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