Mercurial > hg > IndexMetaContextualizer
comparison src/main/java/de/mpiwg/indexmeta/bo/Contextualization.java @ 8:9ce7979fd037
Implementation Data Provider
author | Jorge Urzua <jurzua@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 24 Apr 2013 10:34:23 +0200 |
parents | 7d231e4e86e5 |
children |
comparison
equal
deleted
inserted
replaced
7:bc57f2660b0f | 8:9ce7979fd037 |
---|---|
1 package de.mpiwg.indexmeta.bo; | 1 package de.mpiwg.indexmeta.bo; |
2 | |
3 import java.util.Arrays; | |
4 import java.util.List; | |
2 | 5 |
3 import javax.persistence.Entity; | 6 import javax.persistence.Entity; |
4 import javax.persistence.GeneratedValue; | 7 import javax.persistence.GeneratedValue; |
5 import javax.persistence.Id; | 8 import javax.persistence.Id; |
6 | 9 |
23 | 26 |
24 public static String PUBLISHER = "publisher"; | 27 public static String PUBLISHER = "publisher"; |
25 public static String CITY = "city"; | 28 public static String CITY = "city"; |
26 public static String HOLDING_LIBRARY = "holding-library"; | 29 public static String HOLDING_LIBRARY = "holding-library"; |
27 public static String AUTHOR = "author"; | 30 public static String AUTHOR = "author"; |
31 public static String KEYWORDS = "keywords"; | |
32 public static String EDITOR = "editor"; | |
28 | 33 |
29 //"publisher","city","holding-library", "author" | 34 public static List<String> contextualizableList = Arrays.asList( |
35 new String[]{ | |
36 AUTHOR, | |
37 EDITOR, | |
38 PUBLISHER, | |
39 CITY, | |
40 HOLDING_LIBRARY, | |
41 KEYWORDS}); | |
42 | |
43 | |
44 //"publisher","city","holding-library", "author", "keywords", "editor" | |
30 private String type; | 45 private String type; |
31 | 46 |
32 public String getIndexMetaId() { | 47 public String getIndexMetaId() { |
33 return indexMetaId; | 48 return indexMetaId; |
34 } | 49 } |