@Test public void testDeserialization() throws Exception { final GridReportDefinitionContent def = (GridReportDefinitionContent) readObjectFromResource("/md/report/gridReportDefinitionContent.json", ReportDefinitionContent.class); assertThat(def, is(notNullValue())); assertThat(def.getFormat(), is("grid")); assertThat(def.getGrid(), is(notNullValue())); }
public String getFormat() { return FORMAT; }
GridReportDefinitionContent extends ReportDefinitionContent { public String getFormat() { return FORMAT; } }
GridReportDefinitionContent extends ReportDefinitionContent { public String getFormat() { return FORMAT; } @JsonCreator private  GridReportDefinitionContent(
            @JsonProperty("format") String format,
            @JsonProperty("grid") Grid grid,
            @JsonProperty("filters") Collection<Filter> filters);   GridReportDefinitionContent(Grid grid, Collection<Filter> filters);   GridReportDefinitionContent(Grid grid); }
GridReportDefinitionContent extends ReportDefinitionContent { public String getFormat() { return FORMAT; } @JsonCreator private  GridReportDefinitionContent(
            @JsonProperty("format") String format,
            @JsonProperty("grid") Grid grid,
            @JsonProperty("filters") Collection<Filter> filters);   GridReportDefinitionContent(Grid grid, Collection<Filter> filters);   GridReportDefinitionContent(Grid grid); String getFormat(); static ReportDefinition create(String title, List<? extends GridElement> columns, List<? extends GridElement> rows,
                                          List<MetricElement> metrics); static ReportDefinition create(String title, List<? extends GridElement> columns, List<? extends GridElement> rows,
                                          List<MetricElement> metrics, Collection<Filter> filters); }
GridReportDefinitionContent extends ReportDefinitionContent { public String getFormat() { return FORMAT; } @JsonCreator private  GridReportDefinitionContent(
            @JsonProperty("format") String format,
            @JsonProperty("grid") Grid grid,
            @JsonProperty("filters") Collection<Filter> filters);   GridReportDefinitionContent(Grid grid, Collection<Filter> filters);   GridReportDefinitionContent(Grid grid); String getFormat(); static ReportDefinition create(String title, List<? extends GridElement> columns, List<? extends GridElement> rows,
                                          List<MetricElement> metrics); static ReportDefinition create(String title, List<? extends GridElement> columns, List<? extends GridElement> rows,
                                          List<MetricElement> metrics, Collection<Filter> filters); static final String FORMAT; }