Esempio n. 1
0
 public static ColumnComparisonResult createMatesFromMeta(
     Boolean outcome, CombinedMetadata metadata, Object sVal, Object tVal) {
   return new ColumnComparisonResult(
       outcome,
       metadata.getSrcColumnLabel(),
       metadata.getTarColumnLabel(),
       sVal,
       tVal,
       metadata.isPk());
 }
Esempio n. 2
0
 public static ColumnComparisonResult createOnlyTarget(CombinedMetadata metadata, Object tVal) {
   return new ColumnComparisonResult(
       false, null, metadata.getTarColumnLabel(), null, tVal, metadata.isPk());
 }