From 831819bc393f68342daf7a373f87c017f3ce21a0 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Thu, 30 May 2013 09:11:54 -0400 Subject: [PATCH] Adds more 'standard' fields to hit data object --- src/main/java/com/indexdata/mkjsf/pazpar2/data/Hit.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/data/Hit.java b/src/main/java/com/indexdata/mkjsf/pazpar2/data/Hit.java index df184b6..6eb291e 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/data/Hit.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/data/Hit.java @@ -39,6 +39,14 @@ public class Hit extends ResponseDataObject { return getOneElementValue("md-title-responsibility"); } + public String getDate() { + return getOneElementValue("md-date"); + } + + public String getTitleComplete() { + return getOneElementValue("md-title-complete"); + } + public String getRecId() { return getOneElementValue("recid"); } -- 1.7.10.4