@Test public void testGetText() { VendorStructureId vendorStructureId = new VendorStructureId("f", "t", "n"); String actual = TraceElement.builder().add("text ").add("link", vendorStructureId).build().getText(); assertEquals("text link", actual); }
@JsonIgnore public String getText() { return _fragments.stream().map(Fragment::getText).collect(Collectors.joining()); }
TraceElement implements Serializable { @JsonIgnore public String getText() { return _fragments.stream().map(Fragment::getText).collect(Collectors.joining()); } }
TraceElement implements Serializable { @JsonIgnore public String getText() { return _fragments.stream().map(Fragment::getText).collect(Collectors.joining()); } TraceElement(List<Fragment> fragments); }
TraceElement implements Serializable { @JsonIgnore public String getText() { return _fragments.stream().map(Fragment::getText).collect(Collectors.joining()); } TraceElement(List<Fragment> fragments); static Builder builder(); static TraceElement of(String text); @JsonProperty(PROP_FRAGMENTS) List<Fragment> getFragments(); @Override boolean equals(Object o); @Override int hashCode(); @JsonIgnore String getText(); @Override String toString(); }
TraceElement implements Serializable { @JsonIgnore public String getText() { return _fragments.stream().map(Fragment::getText).collect(Collectors.joining()); } TraceElement(List<Fragment> fragments); static Builder builder(); static TraceElement of(String text); @JsonProperty(PROP_FRAGMENTS) List<Fragment> getFragments(); @Override boolean equals(Object o); @Override int hashCode(); @JsonIgnore String getText(); @Override String toString();  }