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