1
0
Fork 0

added VERSIOn and PART relationship and re-ordered according to my personal and obviously possibly biased

ordering
This commit is contained in:
Alessia Bardi 2021-08-31 20:20:05 +02:00
parent e8b3cb9147
commit 3762b17f7b
1 changed files with 7 additions and 6 deletions

View File

@ -18,17 +18,18 @@ public class SortableRelationKey implements Comparable<SortableRelationKey>, Ser
static {
weights.put(ModelConstants.PARTICIPATION, 0);
weights.put(ModelConstants.OUTCOME, 1);
weights.put(ModelConstants.AFFILIATION, 2);
weights.put(ModelConstants.DEDUP, 3);
weights.put(ModelConstants.PUBLICATION_DATASET, 4);
weights.put(ModelConstants.CITATION, 5);
weights.put(ModelConstants.SUPPLEMENT, 6);
weights.put(ModelConstants.REVIEW, 7);
weights.put(ModelConstants.RELATIONSHIP, 8);
weights.put(ModelConstants.SUPPLEMENT, 5);
weights.put(ModelConstants.REVIEW, 6);
weights.put(ModelConstants.RELATIONSHIP, 7);
weights.put(ModelConstants.PART, 8);
weights.put(ModelConstants.PROVISION, 9);
weights.put(ModelConstants.SIMILARITY, 10);
weights.put(ModelConstants.VERSION, 10);
weights.put(ModelConstants.SIMILARITY, 11);
weights.put(ModelConstants.CITATION, 12);
}
private static final long serialVersionUID = 3232323;