예제 #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());
 }
예제 #2
0
 public static ColumnComparisonResult createOnlySource(CombinedMetadata metadata, Object sVal) {
   return new ColumnComparisonResult(
       false, metadata.getSrcColumnLabel(), null, sVal, null, metadata.isPk());
 }