From: Niels Erik G. Nielsen Date: Thu, 30 May 2013 13:11:54 +0000 (-0400) Subject: Adds more 'standard' fields to hit data object X-Git-Tag: v0.0.7~71 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=831819bc393f68342daf7a373f87c017f3ce21a0;p=mkjsf-moved-to-github.git Adds more 'standard' fields to hit data object --- 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"); }