예제 #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());
  }
예제 #2
0
 @Override
 protected String getValue(FusableCompany record) {
   return record.getName();
 }
예제 #3
0
 @Override
 public boolean hasValue(FusableCompany record) {
   return record.hasValue(FusableCompany.NAME);
 }