@Test public void testToStringFormat() throws Exception { final Report report = readObjectFromResource("/md/report/report.json", Report.class); assertThat(report.toString(), matchesPattern(Report.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
Report extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
Report extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Report(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Report(String title, ReportDefinition... definitions); }
Report extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Report(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Report(String title, ReportDefinition... definitions); @JsonIgnore Collection<String> getDefinitions(); @JsonIgnore Collection<String> getDomains(); @Override String toString(); }
Report extends AbstractObj implements Queryable, Updatable { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  Report(@JsonProperty("meta") Meta meta, @JsonProperty("content") Content content);  Report(String title, ReportDefinition... definitions); @JsonIgnore Collection<String> getDefinitions(); @JsonIgnore Collection<String> getDomains(); @Override String toString();  }