Revision 39717
Added by Alessia Bardi almost 9 years ago
modules/dnet-openaire-blacklist/trunk/src/main/java/eu/dnetlib/openaire/blacklist/BlacklistEntry.java | ||
---|---|---|
27 | 27 |
* Provenance of the relationship. 'iis' when the relationship is inferred |
28 | 28 |
**/ |
29 | 29 |
private String provenance = "iis"; |
30 |
|
|
31 |
private String relationship = "resultProject_outcome_isProducedBy"; |
|
32 |
|
|
30 | 33 |
/** |
31 |
* Semantics of the relationship. E.g. 'isProducedBy' and 'dnet:result_project_relations' |
|
32 |
**/ |
|
33 |
private String semanticClass = "isProducedBy", semanticScheme = "dnet:result_project_relations"; |
|
34 |
/** |
|
35 | 34 |
* The inference module that generated the relationship. Blank if provenance is not 'iis'. |
36 | 35 |
**/ |
37 | 36 |
private String iisModule = "iis::document_referencedProjects"; |
... | ... | |
67 | 66 |
return gson.toJson(this); |
68 | 67 |
} |
69 | 68 |
|
70 |
public String getSourceType() {
|
|
71 |
return sourceType;
|
|
72 |
}
|
|
69 |
public String getRelationship() {
|
|
70 |
return relationship;
|
|
71 |
}
|
|
73 | 72 |
|
73 |
public void setRelationship(final String relationship) { |
|
74 |
this.relationship = relationship; |
|
75 |
} |
|
76 |
|
|
77 |
public String getSourceType() { |
|
78 |
return sourceType; |
|
79 |
} |
|
80 |
|
|
74 | 81 |
public void setSourceType(final String sourceType) { |
75 | 82 |
this.sourceType = sourceType; |
76 | 83 |
} |
... | ... | |
123 | 130 |
this.provenance = provenance; |
124 | 131 |
} |
125 | 132 |
|
126 |
public String getSemanticClass() { |
|
127 |
return semanticClass; |
|
128 |
} |
|
129 |
|
|
130 |
public void setSemanticClass(final String semanticClass) { |
|
131 |
this.semanticClass = semanticClass; |
|
132 |
} |
|
133 |
|
|
134 |
public String getSemanticScheme() { |
|
135 |
return semanticScheme; |
|
136 |
} |
|
137 |
|
|
138 |
public void setSemanticScheme(final String semanticScheme) { |
|
139 |
this.semanticScheme = semanticScheme; |
|
140 |
} |
|
141 |
|
|
142 | 133 |
public String getIisModule() { |
143 | 134 |
return iisModule; |
144 | 135 |
} |
Also available in: Unified diff
removed class and scheme in favour of "relationship"