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 cdfbc1b36a..1f808f027b 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; } + /** + * @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 + */ public List<Keyword> getFiltered(String typeName) { List<Keyword> keywords = new ArrayList<Keyword>(); for (Keyword keyword : getAll()) { @@ -39,6 +43,10 @@ public class Keywords implements Serializable { return keywords; } + /** + * @param type the keyword type, the type of the keyword (s) used in the specific comparison + * @return List<Keyword> return a list of keywords of the specified type + */ public List<Keyword> getFiltered(KeywordType type) { return getFiltered(type.getName()); }