Esempio n. 1
0
  @Override
  public void fuse(RecordGroup<FusableCompany> group, FusableCompany fusedRecord) {

    // get the fused value
    FusedValue<String, FusableCompany> fused = getFusedValue(group);

    // set the value for the fused record
    fusedRecord.setName(fused.getValue());

    // add provenance info
    fusedRecord.setAttributeProvenance(FusableCompany.NAME, fused.getOriginalIds());
  }
Esempio n. 2
0
 @Override
 protected String getValue(FusableCompany record) {
   return record.getName();
 }
Esempio n. 3
0
 @Override
 public boolean hasValue(FusableCompany record) {
   return record.hasValue(FusableCompany.NAME);
 }