public void copyNonPrimaryKeyAttributesFrom(EmployeeAbstract from) throws MithraBusinessException { this.copyNonPrimaryKeyAttributesFrom((MithraTransactionalObject)from); }
public void copyNonPrimaryKeyAttributesUntilFrom(EmployeeAbstract from, Timestamp exclusiveUntil) throws MithraBusinessException { this.copyNonPrimaryKeyAttributesUntilFrom((MithraDatedTransactionalObject)from, exclusiveUntil); }
public void cascadeInsertUntil(Timestamp exclusiveUntil) throws MithraBusinessException { this.insertUntil(exclusiveUntil); }
protected void copyNonPrimaryKeyAttributesUntilFromImpl(MithraDatedTransactionalObject f, Timestamp exclusiveUntil, MithraTransaction tx) throws MithraBusinessException { EmployeeAbstract from = (EmployeeAbstract)f; EmployeeData newData = from.zSynchronizedGetData(); this.setAgeUntil(newData.getAge(), exclusiveUntil); this.setFirstNameUntil(newData.getFirstName(), exclusiveUntil); this.setLastNameUntil(newData.getLastName(), exclusiveUntil); }
protected void copyNonPrimaryKeyAttributesFromImpl(MithraTransactionalObject f, MithraTransaction tx) throws MithraBusinessException { EmployeeAbstract from = (EmployeeAbstract) f; EmployeeData newData = from.zSynchronizedGetData(); this.setAge(newData.getAge()); this.setFirstName(newData.getFirstName()); this.setLastName(newData.getLastName()); }
public Employee zFindOriginal() { EmployeeData data = (EmployeeData) this.currentData; Operation op; op = EmployeeFinder.employeeId().eq(data.getEmployeeId()); op = op.and(EmployeeFinder.businessDate().eq(this.getBusinessDate())); op = op.and(EmployeeFinder.processingDate().eq(this.getProcessingDate())); return EmployeeFinder.findOne(op); }
public boolean isModifiedSinceDetachmentByDependentRelationships() { if(this.isModifiedSinceDetachment()) return true; return false; }