GeneIdentifier implements Comparable<GeneIdentifier> { @Override public String toString() { return "GeneIdentifier{" + "geneId='" + geneId + '\'' + ", geneSymbol='" + geneSymbol + '\'' + ", hgncId='" + hgncId + '\'' + ", hgncSymbol='" + hgncSymbol + '\'' + ", entrezId='" + entrezId + '\'' + ", ensemblId='" + ensemblId + '\'' + ", ucscId='" + ucscId + '\'' + '}'; } private  GeneIdentifier(Builder builder); String getGeneId(); String getGeneSymbol(); String getHgncId(); String getHgncSymbol(); String getEntrezId(); @JsonIgnore Integer getEntrezIdAsInteger(); boolean hasEntrezId(); String getEnsemblId(); String getUcscId(); int compareTo(GeneIdentifier otherGeneIdentifier); static int compare(GeneIdentifier g1, GeneIdentifier g2); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); static final String EMPTY_FIELD; }
@Test public void testToString() { System.out.println(GeneIdentifier.builder() .entrezId("2263") .build() ); }