fixed relation label separator
This commit is contained in:
parent
9663d50027
commit
80f4baa412
2
pom.xml
2
pom.xml
|
@ -32,7 +32,7 @@
|
||||||
<connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection>
|
<connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection>
|
||||||
<developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection>
|
<developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection>
|
||||||
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
|
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
|
||||||
<tag>dhp-schemas-2.9.23</tag>
|
<tag>dhp-schemas-2.9.24</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description>
|
<description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description>
|
||||||
|
|
|
@ -181,7 +181,7 @@ public class ModelSupport {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public static String rel(String relType, String subRelType, String relClass) {
|
public static String rel(String relType, String subRelType, String relClass) {
|
||||||
return String.format("%s-%s-%s", relType, subRelType, relClass);
|
return String.format("%s_%s_%s", relType, subRelType, relClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String schemeTemplate = "dnet:%s_%s_relations";
|
private static final String schemeTemplate = "dnet:%s_%s_relations";
|
||||||
|
|
Loading…
Reference in New Issue