Commit c067758d authored by Wylem Bars's avatar Wylem Bars
Browse files
parent eef44bce
......@@ -104,13 +104,12 @@ public abstract class AbstractLogBrowser<T extends ValidatedObject> implements Q
//TODO EP : This code cannot work. OID is a string and Id is Integer !!!
public FilterDataModel<T> getDataModel() {
// return new FilterDataModel<T>(AbstractLogBrowser.this.getFilter()) {
// @Override
// protected Object getId(final T t) {
// return t.getOid();
// }
// };
return null;
return new FilterDataModel<T>(AbstractLogBrowser.this.getFilter()) {
@Override
protected Object getId(final T t) {
return t.getOid();
}
};
}
public Filter<T> getFilter() {
......
......@@ -97,12 +97,11 @@ public class HL7ValidatedMessageSearch extends AbstractLogBrowser<HL7ValidatedMe
@Override
public FilterDataModel<HL7ValidatedMessage> getDataModel() {
// return new FilterDataModel<HL7ValidatedMessage>(HL7ValidatedMessageSearch.this.getFilter()) {
// @Override
// protected Object getId(final HL7ValidatedMessage t) {
// return t.getId();
// }
// };
return null;
return new FilterDataModel<HL7ValidatedMessage>(HL7ValidatedMessageSearch.this.getFilter()) {
@Override
protected Object getId(final HL7ValidatedMessage t) {
return t.getId();
}
};
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment