@Test public void testGetSortColumn() { int col = 27; when(primary.getSortColumn()).thenReturn(col); assertEquals(col, instance.getSortColumn()); }
@Override public int getSortColumn() { return primaryColumn.getSortColumn(); }
FallbackColumnValue extends AbstractColumnValue<T> { @Override public int getSortColumn() { return primaryColumn.getSortColumn(); } }
FallbackColumnValue extends AbstractColumnValue<T> { @Override public int getSortColumn() { return primaryColumn.getSortColumn(); } @JsonCreator @SuppressWarnings("unchecked")  FallbackColumnValue(@JsonProperty("primaryColumn") final ColumnValue<T> primary,
                               @JsonProperty("fallbackColumn") final ColumnValue<T> fallback,
                               @JsonProperty("fallbackIf") final MappingPredicate<T> fallIf,
                               @JsonProperty(value="multiKey", required=false) final String multiKey); }
FallbackColumnValue extends AbstractColumnValue<T> { @Override public int getSortColumn() { return primaryColumn.getSortColumn(); } @JsonCreator @SuppressWarnings("unchecked")  FallbackColumnValue(@JsonProperty("primaryColumn") final ColumnValue<T> primary,
                               @JsonProperty("fallbackColumn") final ColumnValue<T> fallback,
                               @JsonProperty("fallbackIf") final MappingPredicate<T> fallIf,
                               @JsonProperty(value="multiKey", required=false) final String multiKey); @JsonProperty("primaryColumn") final ColumnValue<T> getPrimaryColumn(); @JsonProperty("fallbackColumn") final ColumnValue<T> getFallbackColumn(); @JsonProperty("fallbackIf") MappingPredicate<T> getFallbackIf(); @Override int getSortColumn(); @Override T getValue(final Row row); }
FallbackColumnValue extends AbstractColumnValue<T> { @Override public int getSortColumn() { return primaryColumn.getSortColumn(); } @JsonCreator @SuppressWarnings("unchecked")  FallbackColumnValue(@JsonProperty("primaryColumn") final ColumnValue<T> primary,
                               @JsonProperty("fallbackColumn") final ColumnValue<T> fallback,
                               @JsonProperty("fallbackIf") final MappingPredicate<T> fallIf,
                               @JsonProperty(value="multiKey", required=false) final String multiKey); @JsonProperty("primaryColumn") final ColumnValue<T> getPrimaryColumn(); @JsonProperty("fallbackColumn") final ColumnValue<T> getFallbackColumn(); @JsonProperty("fallbackIf") MappingPredicate<T> getFallbackIf(); @Override int getSortColumn(); @Override T getValue(final Row row);  }