From 612bc873eba264e328712e48de44286b5c89d828 Mon Sep 17 00:00:00 2001
From: Tom Vahlman <tom@dsv.su.se>
Date: Sun, 8 Apr 2012 23:38:29 +0200
Subject: [PATCH] Keywords must have a getter so that Spring Data can 
 determine its size.

---
 src/main/java/se/su/dsv/scipro/match/dataobject/Keywords.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/se/su/dsv/scipro/match/dataobject/Keywords.java b/src/main/java/se/su/dsv/scipro/match/dataobject/Keywords.java
index 1f808f027b..038d20e5fa 100644
--- a/src/main/java/se/su/dsv/scipro/match/dataobject/Keywords.java
+++ b/src/main/java/se/su/dsv/scipro/match/dataobject/Keywords.java
@@ -29,6 +29,10 @@ public class Keywords implements Serializable {
         this.keywords = keywords;
     }
 
+    public Set<Keyword> getKeywords() {
+        return keywords;
+    }
+
     /**
      * @param typeName the keyword type as a string, the type of the keyword (s) used in the specific comparison
      * @return List<Keyword> return a list of keywords of the specified type