@Test public void testToStringFormat() throws Exception { final WarehouseSchema warehouseSchema = readObjectFromResource("/warehouse/schema.json", WarehouseSchema.class); assertThat(warehouseSchema.toString(), matchesPattern(WarehouseSchema.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
WarehouseSchema { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
WarehouseSchema { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  WarehouseSchema(@JsonProperty("name") final String name,
                            @JsonProperty("description") final String description,
                            @JsonProperty("links") final Map<String, String> links); }
WarehouseSchema { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  WarehouseSchema(@JsonProperty("name") final String name,
                            @JsonProperty("description") final String description,
                            @JsonProperty("links") final Map<String, String> links); String getName(); String getDescription(); Map<String, String> getLinks(); @JsonIgnore String getUri(); @JsonIgnore String getInstanceUri(); @Override String toString(); }
WarehouseSchema { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } @JsonCreator private  WarehouseSchema(@JsonProperty("name") final String name,
                            @JsonProperty("description") final String description,
                            @JsonProperty("links") final Map<String, String> links); String getName(); String getDescription(); Map<String, String> getLinks(); @JsonIgnore String getUri(); @JsonIgnore String getInstanceUri(); @Override String toString(); static final String URI; }