added needed structures to ModelSupport

This commit is contained in:
Miriam Baglioni 2020-07-24 17:22:39 +02:00
parent 332258d199
commit c0f3059676
1 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,15 @@ public class ModelSupport {
entityIdPrefix.put("result", "50"); entityIdPrefix.put("result", "50");
} }
public static final Map<String, String> idPrefixEntity = Maps.newHashMap();
static {
idPrefixEntity.put("10", "datasource");
idPrefixEntity.put("20", "organization");
idPrefixEntity.put("40", "project");
idPrefixEntity.put("50", "result");
}
public static final Map<String, RelationInverse> relationInverseMap = Maps.newHashMap(); public static final Map<String, RelationInverse> relationInverseMap = Maps.newHashMap();
static { static {