@Override
public boolean isCompatible(Class<?> contentType) {
- return contentType.equals(ResourcePair.class);
+ return contentType.equals(ProfileTuple.class);
}
@Override
public Map<String,String> getLabel(ReadGraph graph, Object content) throws DatabaseException {
return Collections.singletonMap(ColumnKeys.SINGLE,
- NameUtils.getSafeLabel(graph, ((ResourcePair)content).getSecond())
+ NameUtils.getSafeLabel(graph, ((ProfileTuple)content).getEntry())
);
}
}