@Test public void testGetFields() { Map<String, String> fields = this.docId.getFields(); Assert.assertEquals("artist", fields.get(DocumentIdTypeId.TYPE)); Assert.assertEquals("10", fields.get(DocumentIdTypeId.ID)); }
@Override public Map<String, String> getFields() { return this.fields; }
DocumentIdTypeId implements DocumentId { @Override public Map<String, String> getFields() { return this.fields; } }
DocumentIdTypeId implements DocumentId { @Override public Map<String, String> getFields() { return this.fields; } DocumentIdTypeId(Object type, Object id); }
DocumentIdTypeId implements DocumentId { @Override public Map<String, String> getFields() { return this.fields; } DocumentIdTypeId(Object type, Object id); @Override Map<String, String> getFields(); @Override String toCypherFilter(); }
DocumentIdTypeId implements DocumentId { @Override public Map<String, String> getFields() { return this.fields; } DocumentIdTypeId(Object type, Object id); @Override Map<String, String> getFields(); @Override String toCypherFilter(); static final String ID; static final String TYPE; }