@Test public void testToCypherFilter() { String cypherFilter = this.docId.toCypherFilter(); Assert.assertEquals("id: 'abc123'", cypherFilter); }
@Override public String toCypherFilter() { StringBuilder sb = new StringBuilder(); sb.append(ID); sb.append(": "); sb.append(this.id.toCypher()); return sb.toString(); }
DocumentIdId implements DocumentId { @Override public String toCypherFilter() { StringBuilder sb = new StringBuilder(); sb.append(ID); sb.append(": "); sb.append(this.id.toCypher()); return sb.toString(); } }
DocumentIdId implements DocumentId { @Override public String toCypherFilter() { StringBuilder sb = new StringBuilder(); sb.append(ID); sb.append(": "); sb.append(this.id.toCypher()); return sb.toString(); } DocumentIdId(Object id); }
DocumentIdId implements DocumentId { @Override public String toCypherFilter() { StringBuilder sb = new StringBuilder(); sb.append(ID); sb.append(": "); sb.append(this.id.toCypher()); return sb.toString(); } DocumentIdId(Object id); @Override Map<String, String> getFields(); @Override String toCypherFilter(); }
DocumentIdId implements DocumentId { @Override public String toCypherFilter() { StringBuilder sb = new StringBuilder(); sb.append(ID); sb.append(": "); sb.append(this.id.toCypher()); return sb.toString(); } DocumentIdId(Object id); @Override Map<String, String> getFields(); @Override String toCypherFilter(); static final String ID; }